stable

Clone or download

Read-only

Workflow state object is now used in workflow mode switch

story #12189 prevent field modification according to state This commit does not bring any functional change. It uses the newly created state object in the workflow mode switch. Change-Id: I8f80d54283b6250a33b1a40ce615dd290aaa9efd

Modified Files

Name
M plugins/tracker/include/REST/v1/TrackersResource.class.php +10 −8 Go to diff View file
M plugins/tracker/include/REST/v1/Workflow/ModeUpdater.php +24 −47 Go to diff View file
M plugins/tracker/include/Tracker/Tracker.class.php +6 −3 Go to diff View file
M plugins/tracker/include/Workflow/SimpleMode/SimpleWorkflowXMLExporter.php +4 −4 Go to diff View file
M plugins/tracker/include/Workflow/SimpleMode/State/StateFactory.php +21 −1 Go to diff View file
R plugins/tracker/include/Workflow/SimpleMode/State/ReferenceTransitionExtractor.php Go to diff View file
M plugins/tracker/include/Workflow/WorkflowFactory.class.php +5 −1 Go to diff View file
M plugins/tracker/phpunit/REST/v1/Workflow/ModeUpdaterTest.php +19 −33 Go to diff View file
M plugins/tracker/phpunit/Tracker/Workflow/SimpleMode/SimpleWorkflowXMLExporterTest.php +2 −2 Go to diff View file
R plugins/tracker/phpunit/Tracker/Workflow/SimpleMode/State/ReferenceTransitionExtractorTest.php Go to diff View file
M plugins/tracker/phpunit/Tracker/Workflow/WorkflowFactoryTest.php +5 −1 Go to diff View file