stable

Clone or download

Read-only

Fix request #35490 Disallow deactivation of Tracker service when dependant services are in use

Given a project that uses at least one service built on top of Trackers (Kanban, Backlog or TestManagement), then the Tracker service must not be deactivate in this project. How to test ---------- * Go to project with either TTM or Kanban or Backlog serivces activated * Try to disable the Tracker service => A warning message is displayed and the Tracker service is not disabled * Go to project with neither TTM nor Kanban nor Backlog serivces activated * Try to disable the Tracker service => the Tracker service is disabled Change-Id: Ia3352cbee6f0be65988e2cdfd08eadd27b132fad

Modified Files

Name
M plugins/agiledashboard/include/agiledashboardPlugin.php +7 −0 Go to diff View file
M plugins/kanban/include/kanbanPlugin.php +7 −0 Go to diff View file
M plugins/testmanagement/include/testmanagementPlugin.php +7 −0 Go to diff View file
A plugins/tracker/include/Tracker/Events/CollectTrackerDependantServices.php +43 −0 Go to diff View file
M plugins/tracker/include/trackerPlugin.php +40 −0 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +14 −0 Go to diff View file
M plugins/tracker/site-content/pt_BR/LC_MESSAGES/tuleap-tracker.po +10 −0 Go to diff View file
A src/common/Project/Event/ProjectServiceBeforeDeactivation.php +84 −0 Go to diff View file
M src/common/Project/ServiceManager.class.php +11 −2 Go to diff View file