stable
Clone or download
Read-only
This change is part of request #12189 On PUT request with type "frozen_fields" to /tracker_workflow_transitions/{id}/actions an empty FrozenFields PostAction is created. Any other previous FrozenFields PostAction is deleted. If workflow is not in simple mode, an error is returned. You need the sys_should_use_read_only_post_actions feature flag to enable it. Otherwise, the standard behaviour (no frozen_fields type) is applied. Change-Id: Ia9a9e267b1c793489e6b4c1f519cf01df9a8d042
Modified Files
Name | ||||
---|---|---|---|---|
A | plugins/tracker/include/REST/v1/Workflow/PostAction/Update/FrozenFieldsJsonParser.php | +45 | −0 | Go to diff View file |
M | plugins/tracker/include/REST/v1/Workflow/TransitionsResource.class.php | +61 | −4 | Go to diff View file |
M | plugins/tracker/include/Workflow/PostAction/FrozenFields/FrozenFieldsDao.php | +30 | −5 | Go to diff View file |
A | plugins/tracker/include/Workflow/PostAction/Update/FrozenFields.php | +38 | −0 | Go to diff View file |
A | plugins/tracker/include/Workflow/PostAction/Update/Internal/FrozenFieldsRepository.php | +48 | −0 | Go to diff View file |
A | plugins/tracker/include/Workflow/PostAction/Update/Internal/FrozenFieldsUpdater.php | +46 | −0 | Go to diff View file |
A | plugins/tracker/include/Workflow/PostAction/Update/Internal/IncompatibleWorkflowModeException.php | +36 | −0 | Go to diff View file |
M | plugins/tracker/include/Workflow/PostAction/Update/PostActionCollection.php | +15 | −0 | Go to diff View file |
M | plugins/tracker/include/Workflow/PostAction/Update/PostActionVisitor.php | +3 | −0 | Go to diff View file |
A | plugins/tracker/phpunit/REST/v1/Workflow/PostAction/Update/FrozenFieldsJsonParserTest.php | +65 | −0 | Go to diff View file |
A | plugins/tracker/phpunit/Tracker/Workflow/PostAction/Update/Internal/FrozenFieldsUpdaterTest.php | +90 | −0 | Go to diff View file |
M | plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po | +4 | −0 | Go to diff View file |