stable

Clone or download

Read-only

Cannot unset tracker as backlog tracker if action is defined

This is part of story #14096 have a post action to add "Scrum Top Backlog" flag If at least one post-action "Add to top backlog" is set for a tracker, then this tracker cannot be removed as a backlog tracker of the top planning. Change-Id: Ice0047f976a8b495964d7ffcb923f1e3eda19fa2

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/Workflow/AddToTopBacklogPostActionDao.php +18 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboardRouter.class.php +35 −26 Go to diff View file
M plugins/agiledashboard/include/AgileDashboardRouterBuilder.php +7 −1 Go to diff View file
A plugins/agiledashboard/include/Planning/PlanningBacklogTrackerRemovalChecker.php +114 −0 Go to diff View file
M plugins/agiledashboard/include/Planning/PlanningController.class.php +50 −28 Go to diff View file
A plugins/agiledashboard/include/Planning/TrackerHaveAtLeastOneAddToTopBacklogPostActionException.php +39 −0 Go to diff View file
A plugins/agiledashboard/phpunit/AgileDashboard/Planning/PlanningBacklogTrackerRemovalCheckerTest.php +176 −0 Go to diff View file
M plugins/agiledashboard/phpunit/AgileDashboard/Planning/PlanningControllerTest.php +44 −2 Go to diff View file
M plugins/agiledashboard/phpunit/AgileDashboardRouterTest.php +3 −1 Go to diff View file
M plugins/agiledashboard/site-content/fr_FR/LC_MESSAGES/tuleap-agiledashboard.po +12 −1 Go to diff View file
M plugins/agiledashboard/tests/include/ControllerTest.php +5 −2 Go to diff View file