stable
Clone or download
Part of story #15122 [release management] management of Aggregator projects How to test: - After installing the plugin, edit manually your DB to configure aggregator and contributor projects. - In a contributor project, define a new Tracker (for example "Products"). Set it on top of Release in the Tracker hierarchy. - Go to Scrum administration and Edit the Release planning (assuming it is the root planning). Change the "target" tracker from "Releases" to "Products". - On submit, the modification should NOT be done and you should see a feedback message telling you that the modification is not allowed. - No functional change expected on other planning modifications. Notes to reviewers: - A next contribution will disallow this action in the UI. To keep the review size smaller, it is not done on this contribution. Similarly, on this contribution end-users have no explanation why the planning can't be modified. It will be done in the UI with a message. Change-Id: I6ac240b5804f42dc0d6b39a0bdd6995417bf772a
Modified Files
Name | ||||
---|---|---|---|---|
M | .editorconfig | +1 | −1 | Go to diff View file |
R | plugins/agiledashboard/include/Planning/PlanningUpdater.php | Go to diff View file | ||
R | plugins/agiledashboard/include/Planning/PlanningBacklogTrackerRemovalChecker.php | Go to diff View file | ||
A | plugins/agiledashboard/include/AgileDashboard/Planning/RootPlanning/PlanningUpdateIsNotAllowedException.php | +31 | −0 | Go to diff View file |
A | plugins/agiledashboard/include/AgileDashboard/Planning/RootPlanning/RootPlanningUpdateIsAllowedEvent.php | +94 | −0 | Go to diff View file |
A | plugins/agiledashboard/include/AgileDashboard/Planning/RootPlanning/UpdateIsAllowedChecker.php | +106 | −0 | Go to diff View file |
M | plugins/agiledashboard/include/AgileDashboardRouter.class.php | +30 | −38 | Go to diff View file |
M | plugins/agiledashboard/include/AgileDashboardRouterBuilder.php | +27 | −10 | Go to diff View file |
M | plugins/agiledashboard/include/Planning/PlanningController.class.php | +34 | −51 | Go to diff View file |
M | plugins/agiledashboard/include/Planning/PlanningFactory.class.php | +0 | −12 | Go to diff View file |
M | plugins/agiledashboard/include/Planning/PlanningParameters.class.php | +3 | −0 | Go to diff View file |
M | plugins/agiledashboard/site-content/fr_FR/LC_MESSAGES/tuleap-agiledashboard.po | +3 | −0 | Go to diff View file |
D | plugins/agiledashboard/tests/unit/AgileDashboard/Planning/PlanningBacklogTrackerRemovalCheckerTest.php | +0 | −176 | Go to diff View file |
M | plugins/agiledashboard/tests/unit/AgileDashboard/Planning/PlanningControllerTest.php | +12 | −56 | Go to diff View file |
M | plugins/agiledashboard/tests/unit/AgileDashboard/Planning/PlanningUpdaterTest.php | +39 | −23 | Go to diff View file |
A | plugins/agiledashboard/tests/unit/AgileDashboard/Planning/RootPlanning/BacklogTrackerRemovalCheckerTest.php | +95 | −0 | Go to diff View file |
A | plugins/agiledashboard/tests/unit/AgileDashboard/Planning/RootPlanning/UpdateIsAllowedCheckerTest.php | +170 | −0 | Go to diff View file |
M | plugins/agiledashboard/tests/unit/AgileDashboardRouterTest.php | +1 | −3 | Go to diff View file |
M | plugins/multi_project_backlog/composer.json | +8 | −3 | Go to diff View file |
A | plugins/multi_project_backlog/include/Contributor/ContributorDao.php | +34 | −0 | Go to diff View file |
A | plugins/multi_project_backlog/include/Contributor/RootPlanningUpdateIsAllowedHandler.php | +54 | −0 | Go to diff View file |
M | plugins/multi_project_backlog/include/multi_project_backlogPlugin.php | +10 | −0 | Go to diff View file |
A | plugins/multi_project_backlog/tests/unit/Contributor/RootPlanningUpdateIsAllowedHandlerTest.php | +110 | −0 | Go to diff View file |