Original Submission 2020-06-16T07:49:46+00:00 [18500] [error] Caught exception: Tracker does not exist:
#0 /usr/share/tuleap/plugins/agiledashboard/include/Planning/PlanningFactory.class.php(447): PlanningFactory->getPlanningTracker(Object(Planning))
#1 /usr/share/tuleap/plugins/agiledashboard/include/AgileDashboard/Planning/NearestPlanningTrackerProvider.class.php(63): PlanningFactory->getPlanningsByBacklogTracker(Object(Tracker))
#2 /usr/share/tuleap/plugins/agiledashboard/include/AgileDashboard/Planning/NearestPlanningTrackerProvider.class.php(50): AgileDashboard_Planning_NearestPlanningTrackerProvider->getPlanningTrackersInRightOrder(Object(Tracker), Object(Tracker_HierarchyFactory))
#3 /usr/share/tuleap/plugins/agiledashboard/include/AgileDashboard/Milestone/MilestoneReportCriterionOptionsProvider.class.php(70): AgileDashboard_Planning_NearestPlanningTrackerProvider->getNearestPlanningTracker(Object(Tracker), Object(Tracker_HierarchyFactory))
#4 /usr/share/tuleap/plugins/agiledashboard/include/AgileDashboard/Milestone/MilestoneReportCriterionProvider.class.php(67):
This fatal error occurs when a planning is deleted, but db has remains of previous configuration
SELECT *
FROM plugin_agiledashboard_planning AS p
INNER JOIN plugin_agiledashboard_planning_backlog_tracker AS b ON p.id = b.planning_id
WHERE p.group_id = 1234
+------+-----------------+----------+---------------------+-----------------+-------------+-------------+------------+
| id | name | group_id | planning_tracker_id | backlog_title | plan_title | planning_id | tracker_id |
+------+-----------------+----------+---------------------+-----------------+-------------+-------------+------------+
| 12 | Sprint Planning | 1234 | 0 | Release Backlog | Sprint Plan | 5678 | 91011 |
+------+-----------------+----------+---------------------+-----------------+-------------+-------------+------------+