stable
Clone or download
This is part of request #29972 Planning backlog trackers must not have hierarchical links When triggering the error by selecting both parent and child trackers as backlog trackers of a planning, then the error message must have a more meaningful content to understand where is the error. How to test ----------- * Have a project with the agiledashboard service enabled * Define a parent/child relationship between a tracker A and a tracker B * Go to your agiledashboard administration, and select a planning * Edit the backlog trackers of this plannig by selecting both trackers A and B => The backlog trackers must not be updated and the error message must contains the trackers that cannot be selected at the same time. Change-Id: Ibb526a171487af7f3d897f033bed5004e0ddcd30
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/agiledashboard/include/AgileDashboard/Planning/BacklogTrackersUpdateChecker.php | +30 | −4 | 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 | +3 | −1 | Go to diff View file |
M | plugins/agiledashboard/include/Planning/TrackersHaveAtLeastOneHierarchicalLinkException.php | +8 | −4 | Go to diff View file |
A | plugins/agiledashboard/include/Planning/TrackersWithHierarchicalLinkDefinedNotFoundException.php | +34 | −0 | Go to diff View file |
M | plugins/agiledashboard/site-content/fr_FR/LC_MESSAGES/tuleap-agiledashboard.po | +16 | −5 | Go to diff View file |
M | plugins/agiledashboard/site-content/pt_BR/LC_MESSAGES/tuleap-agiledashboard.po | +11 | −3 | Go to diff View file |
M | plugins/agiledashboard/tests/unit/AgileDashboard/Planning/BacklogTrackersUpdateCheckerTest.php | +77 | −15 | Go to diff View file |
M | plugins/agiledashboard/tests/unit/AgileDashboard/Planning/PlanningControllerTest.php | +1 | −1 | Go to diff View file |