stable

Clone or download

Read-only

When the top level planning is removed, all the backlog elements for this project are cleared in database.

part of story #10143 add/remove backlog items in planning view How to test: Have a backlog with explicit elements inside In agiledashboard administration remove your top level planning => go check in db plugin_agiledashboard_planning_artifacts_explicit_backlog => does no longer have artifacts for project plugin_agiledashboard_planning_explicit_backlog_usage => usage is kept, no change here Nothing prevents the removal of top level planning, there is a dedicated task for warn users about dangerousity of it. Change-Id: I2679fc54870310411fd7a67810bcf0bf790f330a

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/AdminController.class.php +1 −2 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/ExplicitBacklog/ArtifactsInExplicitBacklogDao.php +11 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboardRouter.class.php +19 −13 Go to diff View file
M plugins/agiledashboard/include/AgileDashboardRouterBuilder.php +5 −1 Go to diff View file
M plugins/agiledashboard/include/Planning/PlanningController.class.php +35 −20 Go to diff View file
A plugins/agiledashboard/phpunit/AgileDashboard/Planning/PlanningControllerTest.php +172 −0 Go to diff View file
M plugins/agiledashboard/tests/AgileDashboardRouterTest.php +5 −1 Go to diff View file
M plugins/agiledashboard/tests/include/ControllerTest.php +11 −35 Go to diff View file