stable
Clone or download
Read-only
This is part of story #12189 prevent field modification according to state If a field id provided in the field_ids attribute is a field that has field dependencies, the REST route throws an error. The selected field ids are not yet saved in database. You still need to defined the feature flag to be able to defined frozen field action in REST. Change-Id: I05c1f829d406565529b34e68f164fb55b040c4aa
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/include/REST/v1/Workflow/TransitionsResource.class.php | +2 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Rule/Tracker_RuleFactory.class.php | +12 | −10 | Go to diff View file |
M | plugins/tracker/include/Tracker/Rule/Tracker_RulesManager.class.php | +12 | −9 | Go to diff View file |
M | plugins/tracker/include/Workflow/PostAction/Update/Internal/FrozenFieldsValidator.php | +77 | −19 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/Workflow/PostAction/Update/Internal/FrozenFieldsValidatorTest.php | +84 | −4 | Go to diff View file |
M | plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po | +6 | −2 | Go to diff View file |
M | plugins/tracker/tests/rest/Workflows/SimpleModeTest.php | +33 | −0 | Go to diff View file |
M | plugins/tracker/tests/rest/_fixtures/Workflows/project.xml | +36 | −1 | Go to diff View file |