stable

Clone or download

Read-only

Cleanup workflow with state object

This is part of story #12189 prevent field modification according to state This commit does not bring any functional change. Change-Id: I67222bc61b3f30a055401cb0254910bbdb7aeac5

Modified Files

Name
M plugins/timetracking/include/Timetracking/REST/v1/ProjectResource.php +15 −2 Go to diff View file
M plugins/tracker/include/REST/v1/ArtifactsResource.class.php +15 −2 Go to diff View file
M plugins/tracker/include/REST/v1/ProjectTrackersResource.class.php +15 −2 Go to diff View file
M plugins/tracker/include/REST/v1/TrackersResource.class.php +20 −4 Go to diff View file
M plugins/tracker/include/REST/v1/Workflow/ModeUpdater.php +1 −1 Go to diff View file
M plugins/tracker/include/REST/v1/Workflow/PostAction/PUTHandler.php +1 −1 Go to diff View file
M plugins/tracker/include/REST/v1/Workflow/TransitionPOSTHandler.php +1 −1 Go to diff View file
M plugins/tracker/include/REST/v1/Workflow/TransitionPatcher.php +1 −2 Go to diff View file
M plugins/tracker/include/REST/v1/Workflow/TransitionsResource.class.php +0 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact.class.php +13 −2 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/View/Edit.class.php +13 −2 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Container_Fieldset.class.php +11 −3 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field.class.php +13 −2 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Computed.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_PermissionsOnArtifact.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Text.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Tracker.class.php +10 −2 Go to diff View file
M plugins/tracker/include/Workflow/PostAction/FrozenFields/FrozenFieldDetector.php +2 −2 Go to diff View file
M plugins/tracker/include/Workflow/PostAction/HiddenFieldsets/HiddenFieldsetsDetector.php +2 −2 Go to diff View file
R plugins/tracker/include/Workflow/SimpleMode/TransitionRetriever.php Go to diff View file
M plugins/tracker/include/Workflow/SimpleMode/State/TransitionUpdater.php +7 −29 Go to diff View file
D plugins/tracker/include/Workflow/SimpleMode/TransitionCollection.php +0 −42 Go to diff View file
M plugins/tracker/include/Workflow/Workflow.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Workflow/Workflow_TransitionDao.class.php +0 −55 Go to diff View file
M plugins/tracker/phpunit/REST/v1/Workflow/ModeUpdaterTest.php +1 −1 Go to diff View file
M plugins/tracker/phpunit/REST/v1/Workflow/TransitionPOSTHandlerTest.php +1 −1 Go to diff View file
M plugins/tracker/phpunit/REST/v1/Workflow/TransitionPatcherTest.php +1 −1 Go to diff View file
M plugins/tracker/phpunit/Tracker/Workflow/PostAction/FrozenFields/FrozenFieldDetectorTest.php +6 −6 Go to diff View file
M plugins/tracker/phpunit/Tracker/Workflow/PostAction/HiddenFieldsets/HiddenFieldsetsDetectorTest.php +5 −5 Go to diff View file
R plugins/tracker/phpunit/Tracker/Workflow/SimpleMode/TransitionRetrieverTest.php Go to diff View file
M plugins/tracker/phpunit/Tracker/Workflow/SimpleMode/State/TransitionUpdaterTest.php +2 −7 Go to diff View file