stable
Clone or download
Read-only
This is part of story #12188 hide fieldsets according to state If your workflow is in simple mode and the state you are creating a new transition contains a hidden fieldsets post action, then this action is duplicated for the newly created transition. To have this working, the feature flag $sys_should_use_hidden_fieldsets_post_actions must be set to 1 in the local.inc file or in database. Change-Id: If44c273fed243ec9e16b2a0c67a0100758be6753
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/include/REST/v1/Workflow/TransitionsResource.class.php | +50 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/FormElement/Tracker_FormElementFactory.class.php | +8 | −0 | Go to diff View file |
M | plugins/tracker/include/Workflow/PostAction/HiddenFieldsets/HiddenFieldsetsDao.php | +33 | −0 | Go to diff View file |
M | plugins/tracker/include/Workflow/PostAction/HiddenFieldsets/HiddenFieldsetsFactory.php | +1 | −3 | Go to diff View file |
M | plugins/tracker/include/Workflow/PostAction/PostActionsRetriever.php | +23 | −6 | Go to diff View file |
A | plugins/tracker/include/Workflow/PostAction/Update/HiddenFieldsetsValue.php | +61 | −0 | Go to diff View file |
A | plugins/tracker/include/Workflow/PostAction/Update/Internal/HiddenFieldsetsValueRepository.php | +53 | −0 | Go to diff View file |
A | plugins/tracker/include/Workflow/PostAction/Update/Internal/HiddenFieldsetsValueUpdater.php | +63 | −0 | Go to diff View file |
A | plugins/tracker/include/Workflow/PostAction/Update/Internal/HiddenFieldsetsValueValidator.php | +109 | −0 | Go to diff View file |
M | plugins/tracker/include/Workflow/PostAction/Update/Internal/PostActionsMapper.php | +25 | −0 | Go to diff View file |
M | plugins/tracker/include/Workflow/PostAction/Update/PostActionCollection.php | +24 | −1 | Go to diff View file |
M | plugins/tracker/include/Workflow/PostAction/Update/PostActionCollectionUpdater.php | +0 | −12 | Go to diff View file |
M | plugins/tracker/include/Workflow/PostAction/Update/PostActionVisitor.php | +3 | −0 | Go to diff View file |
M | plugins/tracker/include/Workflow/SimpleMode/TransitionReplicator.php | +11 | −2 | Go to diff View file |
M | plugins/tracker/include/Workflow/SimpleMode/TransitionReplicatorBuilder.php | +87 | −30 | Go to diff View file |
A | plugins/tracker/phpunit/Tracker/Workflow/PostAction/Update/Internal/HiddenFieldsetsValueUpdaterTest.php | +122 | −0 | Go to diff View file |
A | plugins/tracker/phpunit/Tracker/Workflow/PostAction/Update/Internal/HiddenFieldsetsValueValidatorTest.php | +125 | −0 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/Workflow/PostAction/Update/Internal/PostActionsMapperTest.php | +25 | −0 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/Workflow/PostAction/Update/PostActionCollectionUpdaterTest.php | +0 | −39 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/Workflow/SimpleMode/TransitionReplicatorTest.php | +21 | −2 | Go to diff View file |
M | plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po | +13 | −0 | Go to diff View file |