stable

Clone or download

Read-only

fix: empty dashboard cannot configure roadmap

Have a en empty project dashboard. Try to add a roadmap widget => you cannot configure it. Worse, if you add it anyway, you end up with a fatal error: > Typed property Tuleap\Roadmap\RoadmapProjectWidget::$lvl1_iteration_tracker_id > must not be accessed before initialization This contribution fix the fatal error for existing users, and add needed js/css assets like it was done for labels widget. Closes request #21788: Dashboard with roadmap cannot be accessed Change-Id: I9cd8771926c062bf08c5051f3882229b7d93678a

Modified Files

Name
M plugins/roadmap/include/Roadmap/RoadmapProjectWidget.php +2 −2 Go to diff View file
M plugins/roadmap/include/roadmapPlugin.php +39 −0 Go to diff View file
M plugins/roadmap/tests/unit/Roadmap/RoadmapProjectWidgetTest.php +28 −1 Go to diff View file