stable

Clone or download

Read-only

Use state object in REST PUT workflow_transitions/:id/actions

This is part of 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 REST route PUT workflow_transitions/:id/actions. Change-Id: I9d404b7225044822ae6670099597a75454748db3

Modified Files

Name
M plugins/tracker/include/REST/v1/Workflow/PostAction/PUTHandler.php +26 −35 Go to diff View file
M plugins/tracker/include/REST/v1/Workflow/TransitionsResource.class.php +13 −12 Go to diff View file
M plugins/tracker/include/Workflow/SimpleMode/State/TransitionUpdater.php +24 −3 Go to diff View file
M plugins/tracker/include/Workflow/SimpleMode/TransitionRetriever.php +1 −42 Go to diff View file
M plugins/tracker/phpunit/Tracker/Workflow/SimpleMode/State/TransitionUpdaterTest.php +51 −1 Go to diff View file
M plugins/tracker/phpunit/Tracker/Workflow/SimpleMode/TransitionRetrieverTest.php +0 −61 Go to diff View file