stable

Clone or download

Read-only

story #11345 move artifact's "status"

The status semantic is now moved. Both source and targer fields must have the same type (selectbox or radio button). Value is retrived by ducktyping (or NONE if no matching value). Change-Id: I921ce2b0a4149977b9f7a41ec030adedc67a0368

Modified Files

Name
M plugins/tracker/include/REST/v1/ArtifactsResource.class.php +13 −4 Go to diff View file
M plugins/tracker/include/Tracker/Action/MoveSemanticChecker.php +38 −5 Go to diff View file
A plugins/tracker/include/Tracker/Action/MoveStatusSemanticChecker.php +60 −0 Go to diff View file
M plugins/tracker/include/Tracker/XML/Updater/MoveChangesetXMLUpdater.php +62 −3 Go to diff View file
M plugins/tracker/phpunit/Tracker/Action/MoveSemanticCheckerTest.php +91 −2 Go to diff View file
A plugins/tracker/phpunit/Tracker/Action/MoveStatusSemanticCheckerTest.php +101 −0 Go to diff View file
M plugins/tracker/phpunit/Tracker/XML/Updater/MoveChangesetXMLUpdaterTest.php +140 −4 Go to diff View file
M plugins/tracker/tests/rest/ArtifactsActions/ArtifactsActionsTest.php +1 −0 Go to diff View file
M plugins/tracker/tests/rest/_fixtures/MoveArtifact/project.xml +27 −0 Go to diff View file
M tests/phpunit/phpunit.xml +2 −0 Go to diff View file