stable
Clone or download
Read-only
This is part of story #12189 prevent field modification according to state Doing a PUT on /tracker_workflow_transitions/{id}/actions with some forzen fields actions on a tracker that is configured to be either a test execution or a test definition in TTM is rejected. This patch is needed by the following TTM patch: https://gerrit.tuleap.net/c/plugin-testmgmt/+/14850 Change-Id: I3301a3c9c9f9979c37b52658031a9b3c42e1f35c
Modified Files
Name | ||||
---|---|---|---|---|
A | plugins/tracker/include/REST/v1/Workflow/PostAction/CheckPostActionsForTracker.php | +106 | −0 | Go to diff View file |
M | plugins/tracker/include/REST/v1/Workflow/PostAction/PUTHandler.php | +12 | −0 | Go to diff View file |
A | plugins/tracker/include/REST/v1/Workflow/PostAction/PostActionNonEligibleForTrackerException.php | +29 | −0 | Go to diff View file |
A | plugins/tracker/include/REST/v1/Workflow/PostAction/TrackerChecker.php | +53 | −0 | Go to diff View file |
M | plugins/tracker/include/REST/v1/Workflow/PostAction/Update/FrozenFieldsJsonParser.php | +3 | −0 | Go to diff View file |
M | plugins/tracker/include/REST/v1/Workflow/PostAction/Update/PostActionCollectionJsonParser.php | +3 | −0 | Go to diff View file |
M | plugins/tracker/include/REST/v1/Workflow/TransitionsResource.class.php | +9 | −2 | Go to diff View file |
A | plugins/tracker/phpunit/REST/v1/Workflow/PostAction/TrackerCheckerTest.php | +68 | −0 | Go to diff View file |