stable

Clone or download

Read-only

workflow must be disabled during the full move of an artifact

part of story #32280 Complete the "move artifact" feature How to test: create a global rules on destination tracker, example start date must be < to end date create an artifact with a start date > end date Without the patch: - artifact is moved, - notices are displayed on artifact view - start date and end date are removed from changesets With the patch - artifact is moved - start date and end date are kept - when you update artifact, global rules are complaining about rule not respected Change-Id: If113616c1944cee81ef8b95c1078dfbfaa95c608

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/Changeset/InitialChangesetCreator.php +15 −10 Go to diff View file
M plugins/tracker/include/Workflow/Workflow.class.php +16 −26 Go to diff View file
M plugins/tracker/tests/unit/Artifact/Changeset/InitialChangesetCreatorTest.php +31 −25 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Action/CanUserFieldValuesBeFullyMovedVerifierTest.php +1 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Action/CanUserGroupValuesBeFullyMovedVerifierTest.php +1 −0 Go to diff View file
M plugins/tracker/tests/unit/Workflow/WorkflowTest.php +59 −19 Go to diff View file