stable
Clone or download
Read-only
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 POST workflow_transitions/:id. Change-Id: I79fc4c1c4309a79faa16313c27c3328c6783792b
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/include/REST/v1/Workflow/TransitionPOSTHandler.php | +27 | −20 | Go to diff View file |
M | plugins/tracker/include/REST/v1/Workflow/TransitionsResource.class.php | +13 | −2 | Go to diff View file |
A | plugins/tracker/include/Workflow/SimpleMode/State/TransitionCreator.php | +78 | −0 | Go to diff View file |
M | plugins/tracker/include/Workflow/SimpleMode/TransitionRetriever.php | +0 | −18 | Go to diff View file |
M | plugins/tracker/phpunit/REST/v1/Workflow/TransitionPOSTHandlerTest.php | +26 | −18 | Go to diff View file |
A | plugins/tracker/phpunit/Tracker/Workflow/SimpleMode/State/TransitionCreatorTest.php | +119 | −0 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/Workflow/SimpleMode/TransitionRetrieverTest.php | +0 | −71 | Go to diff View file |