stable

Clone or download

Read-only

Save Frozen fields actions in database

This is part of story #12189 prevent field modification according to state Provided field ids are now saved in database if the provided ids are usable. You still need to defined the feature flag to be able to defined frozen field action in REST. This post action is also duplicated when creating a new transition in simple mode if the state has a fozen fields action. Change-Id: Id6afdd285acce3983e734d02bed42809ee7e7636

Modified Files

Name
M plugins/tracker/include/Workflow/PostAction/FrozenFields/FrozenFieldsDao.php +12 −2 Go to diff View file
M plugins/tracker/include/Workflow/PostAction/PostActionsRetriever.php +1 −1 Go to diff View file
M plugins/tracker/include/Workflow/PostAction/Update/Internal/FrozenFieldsRepository.php +1 −1 Go to diff View file
M plugins/tracker/include/Workflow/PostAction/Update/Internal/PostActionsMapper.php +19 −0 Go to diff View file
M plugins/tracker/include/Workflow/SimpleMode/TransitionReplicator.php +10 −1 Go to diff View file
M plugins/tracker/include/Workflow/SimpleMode/TransitionReplicatorBuilder.php +60 −16 Go to diff View file
M plugins/tracker/phpunit/Tracker/Workflow/PostAction/Update/Internal/PostActionsMapperTest.php +16 −0 Go to diff View file
M plugins/tracker/phpunit/Tracker/Workflow/SimpleMode/TransitionReplicatorTest.php +10 −1 Go to diff View file