stable

Clone or download

Read-only

Delete a tracker implicated in triggers should not be possible

Part of request #27136 Tracker administration : Triggers should be properly managed It's possible to delete trackers which are source or target of triggers. The triggers still exists on database. Change-Id: Ic947e37c309c2309de318d4efac6694d8bed3876

Modified Files

Name
M plugins/tracker/include/Tracker/Admin/GlobalAdmin/Trackers/MarkTrackerAsDeletedController.php +6 −0 Go to diff View file
M plugins/tracker/include/Tracker/Admin/GlobalAdmin/Trackers/TrackersDisplayController.php +5 −0 Go to diff View file
M plugins/tracker/include/Workflow/Trigger/RuleDao.class.php +1 −1 Go to diff View file
A plugins/tracker/include/Workflow/Trigger/TriggersDao.php +56 −0 Go to diff View file
M plugins/tracker/include/trackerPlugin.php +5 −2 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +4 −0 Go to diff View file
M plugins/tracker/site-content/pt_BR/LC_MESSAGES/tuleap-tracker.po +4 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Admin/GlobalAdmin/Trackers/MarkTrackerAsDeletedControllerTest.php +65 −1 Go to diff View file