Reproduction scenario:
- Open a sprint backlog of a Backlog plugin
- Change the the
planning_id
value to z
Trace:
PHP Fatal error: Uncaught TypeError: Tuleap\AgileDashboard\Planning\NotFoundException::__construct(): Argument #1 ($planning_id) must be of type int, string given, called in /usr/share/tuleap/plugins/agiledashboard/include/Planning/MilestoneFactory.php on line 211 and defined in /usr/share/tuleap/plugins/agiledashboard/include/AgileDashboard/Planning/NotFoundException.php:27
Stack trace:
#0 /usr/share/tuleap/plugins/agiledashboard/include/Planning/MilestoneFactory.php(211): Tuleap\AgileDashboard\Planning\NotFoundException->__construct()
#1 /usr/share/tuleap/plugins/agiledashboard/include/Planning/MilestoneController.php(198): Planning_MilestoneFactory->getBareMilestone()
#2 /usr/share/tuleap/plugins/agiledashboard/include/Planning/MilestoneController.php(88): Planning_MilestoneController->generateBareMilestone()
#3 /usr/share/tuleap/plugins/agiledashboard/include/AgileDashboardRouter.php(366): Planning_MilestoneController->show()
[...]