stable

Clone or download

Read-only

Mention that trackers used in trigger rules can not be removed from the hierarchy

If the user try it anyway, the tracker used in the trigger rules are kept. This is part of request #13459: Removing a child tracker should not be possible when the tracker is implicated in workflow trigger rules Change-Id: I45070e25b9263ad6741cc3c024b9f13881135eb3

Modified Files

Name
D plugins/tracker/include/Tracker/Hierarchy/Controller.class.php +0 −145 Go to diff View file
M plugins/tracker/include/Tracker/Hierarchy/HierarchicalTrackerFactory.class.php +4 −4 Go to diff View file
A plugins/tracker/include/Tracker/Hierarchy/HierarchyController.php +197 −0 Go to diff View file
M plugins/tracker/include/Tracker/Hierarchy/HierarchyDAO.php +1 −30 Go to diff View file
M plugins/tracker/include/Tracker/Hierarchy/Presenter.class.php +26 −2 Go to diff View file
M plugins/tracker/include/Tracker/Tracker.class.php +5 −6 Go to diff View file
M plugins/tracker/include/Workflow/Trigger/RuleDao.class.php +15 −1 Go to diff View file
A plugins/tracker/phpunit/Tracker/Hierarchy/HierarchyControllerTest.php +93 −0 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +21 −0 Go to diff View file
M plugins/tracker/templates/admin-hierarchy.mustache +14 −0 Go to diff View file
M plugins/tracker/tests/Tracker/Hierarchy/ControllerTest.php +33 −16 Go to diff View file
M plugins/tracker/tests/Tracker/Hierarchy/HierarchicalTrackerFactoryTest.php +2 −3 Go to diff View file
M plugins/tracker/tests/Tracker/Hierarchy/PresenterTest.php +2 −2 Go to diff View file