stable

Clone or download

Read-only

Move artifacts with semantic description

This is part of story #11342 have a base REST route to move id, title, description The semantic description value is now moved with the artifact. Both trackers must have the same semantics defined to be moved and at least one semantic defined (title and/or description). Change-Id: I0be7fab6b1b45dc5b87255e28283baa72465380f

Modified Files

Name
M plugins/tracker/include/REST/v1/ArtifactsResource.class.php +5 −3 Go to diff View file
M plugins/tracker/include/Tracker/Action/MoveArtifact.php +13 −6 Go to diff View file
A plugins/tracker/include/Tracker/Action/MoveSemanticChecker.php +37 −0 Go to diff View file
R plugins/tracker/include/Tracker/Exception/MoveArtifactSemanticTitleMissingException.php Go to diff View file
M plugins/tracker/include/Tracker/XML/Updater/ChangesetXMLUpdater.class.php +59 −12 Go to diff View file
A plugins/tracker/phpunit/Tracker/Action/MoveSemanticCheckerTest.php +167 −0 Go to diff View file
M plugins/tracker/tests/Tracker/XML/Updater/ChangesetXMLUpdaterTest.php +40 −1 Go to diff View file
M plugins/tracker/tests/rest/ArtifactsActions/ArtifactsActionsTest.php +3 −1 Go to diff View file
M plugins/tracker/tests/rest/_fixtures/MoveArtifact/project.xml +21 −1 Go to diff View file
M plugins/tracker/tests/rest/bootstrap.php +0 −1 Go to diff View file