stable
Clone or download
Read-only
Disallow choosing a tracker with "Freeze" Post action on any field as Test Definition and Test Execution in TTM admin form
This is part of story #12189 prevent field modification according to state When updating the tracker ids in the TTM administration form, if the provided tracker for either definition or execution uses at least one Frozen Fields workflow post action, then the id is not updated and an error message is displayed. This patch needs the following tuleap "core" patch to work: https://gerrit.tuleap.net/c/tuleap/+/14812 Change-Id: If1ee0dce06653575cfd0581b7ee8597944ab6afb
Modified Files
Name | ||||
---|---|---|---|---|
M | include/TestManagement/AdminController.class.php | +47 | −17 | Go to diff View file |
M | include/TestManagement/Administration/TrackerChecker.php | +24 | −16 | Go to diff View file |
A | include/TestManagement/Administration/TrackerHasAtLeastOneFrozenFieldsPostActionException.php | +29 | −0 | Go to diff View file |
M | include/TestManagement/Router.class.php | +27 | −17 | Go to diff View file |
M | include/testmanagementPlugin.class.php | +2 | −1 | Go to diff View file |
M | phpunit/TestManagement/AdminControllerTest.php | +43 | −3 | Go to diff View file |
M | phpunit/TestManagement/Administration/TrackerCheckerTest.php | +33 | −3 | Go to diff View file |
M | site-content/fr_FR/LC_MESSAGES/tuleap-testmanagement.po | +4 | −0 | Go to diff View file |