stable
Clone or download
Read-only
request #11509 PermissionOnArtifact XML export could export an empty ugroup tag
To test it: * Choose a custom ugroup as value in permission on artifact for a given artifact * Delete this ugroup * Export the whole project No tag <ugroup ugroup_name=""/> must be exported for the permissions on artifact field. Change-Id: If1122ccd18fb16ae8848718537dbec210b85c0e0
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_PermissionsOnArtifact.class.php | +2 | −3 | Go to diff View file |
M | plugins/tracker/include/Tracker/XML/Exporter/ChangesetValue/ChangesetValuePermissionsOnArtifactXMLExporter.class.php | +2 | −2 | Go to diff View file |
A | plugins/tracker/phpunit/Tracker/XML/Exporter/ChangesetValue/ChangesetValuePermissionsOnArtifactXMLExporterTest.php | +122 | −0 | Go to diff View file |
D | plugins/tracker/tests/Tracker/XML/Exporter/ChangesetValue/ChangesetValuePermissionsOnArtifactXMLExporterTest.php | +0 | −68 | Go to diff View file |
M | plugins/tracker/tests/Tracker_FormElement_Field_PermissionsOnArtifactTest.php | +1 | −1 | Go to diff View file |
M | tests/phpunit/phpunit.xml | +1 | −0 | Go to diff View file |