stable

Clone or download

Read-only

Move artifacts with semantic title

This is part of story #11342 have a base REST route to move id, title, description The semantic title value is now moved with the artifact. A real changeset is now created. Both trackers must have the semantic title defined and the artifact must have a title set. Change-Id: I9a7fb896c8c8487767ae6b4a1bd170bf15e6df49

Modified Files

Name
M plugins/tracker/include/REST/v1/ArtifactsResource.class.php +18 −6 Go to diff View file
M plugins/tracker/include/Tracker/Action/MoveArtifact.php +10 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/XMLImport.class.php +11 −2 Go to diff View file
A plugins/tracker/include/Tracker/Exception/MoveArtifactSemanticTitleMissingException.php +31 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_ArtifactLink.class.php +19 −1 Go to diff View file
M plugins/tracker/include/Tracker/XML/Updater/ChangesetXMLUpdater.class.php +38 −4 Go to diff View file
M plugins/tracker/include/autoload.php +3 −2 Go to diff View file
M plugins/tracker/tests/Tracker/XML/Updater/ChangesetXMLUpdaterTest.php +15 −6 Go to diff View file
R plugins/tracker/tests/rest/ArtifactsDeletion/ArtifactsDeletionTest.php Go to diff View file
A plugins/tracker/tests/rest/TrackerBase.php +74 −0 Go to diff View file
M plugins/tracker/tests/rest/_fixtures/ArtifactsDeletion/project.xml +5 −5 Go to diff View file
M plugins/tracker/tests/rest/_fixtures/ArtifactsDeletion/user_map.csv +0 −1 Go to diff View file
M plugins/tracker/tests/rest/_fixtures/ArtifactsDeletion/users.xml +4 −4 Go to diff View file
A plugins/tracker/tests/rest/_fixtures/MoveArtifact/project.xml +425 −0 Go to diff View file
A plugins/tracker/tests/rest/_fixtures/MoveArtifact/user_map.csv +1 −0 Go to diff View file
A plugins/tracker/tests/rest/_fixtures/MoveArtifact/users.xml +10 −0 Go to diff View file
M plugins/tracker/tests/rest/bootstrap.php +4 −2 Go to diff View file
M plugins/tracker/tests/rest/init_test_data.php +1 −2 Go to diff View file