stable

Clone or download

Read-only

fix: fatal error due to hidden dependency

We have this dependencies: AD -> Cardwall -> Tracker However Cardwall depends on AD to provide its PaneInfo. Since 64846e0d5e911cc0c1e0b05d42b71d3ab9343631, agiledashboard is not always loaded, and we get a fatal error: Fatal error: Uncaught Error: Class "Tuleap\AgileDashboard\Milestone\Pane\PaneInfo" not found in /usr/share/tuleap/plugins/cardwall/include/Cardwall/Agiledashboard/PaneInfo.php on line 26 Error: Class "Tuleap\AgileDashboard\Milestone\Pane\PaneInfo" not found in /usr/share/tuleap/plugins/cardwall/include/Cardwall/Agiledashboard/PaneInfo.php on line 26 In order to "solve" this, the PaneInfo is moved to the tracker plugin as it is the only common dependency for all those plugins. Part of request #25680: Decrease usage of BurningParrotCompatiblePageEvent Change-Id: Ia8c7a58ceabea6f636585e1bb1691ab63c6023ff

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/Artifact/EventRedirectAfterArtifactCreationOrUpdateHandler.php +1 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/Pane/Details/DetailsPaneInfo.php +21 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/Pane/PaneInfoCollector.php +1 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/Pane/Planning/PlanningV2PaneInfo.php +17 −3 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/Pane/PresenterData.php +1 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/PaneInfoRepresentation.php +1 −1 Go to diff View file
M plugins/agiledashboard/include/Planning/MilestonePaneFactory.class.php +1 −1 Go to diff View file
M plugins/agiledashboard/include/Planning/VirtualTopMilestonePaneFactory.class.php +1 −1 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Artifact/EventRedirectAfterArtifactCreationOrUpdateHandlerTest.php +1 −1 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Milestone/Pane/PaneInfoCollectorTest.php +2 −1 Go to diff View file
M plugins/cardwall/include/Cardwall/Agiledashboard/PaneInfo.php +17 −4 Go to diff View file
M plugins/cardwall/include/cardwallPlugin.php +2 −2 Go to diff View file
M plugins/frs/include/FRS/AgileDashboardPaneInfo.php +4 −5 Go to diff View file
M plugins/frs/include/frsPlugin.php +1 −1 Go to diff View file
M plugins/frs/tests/unit/FRS/AgileDashboardPaneInfoTest.php +1 −8 Go to diff View file
M plugins/taskboard/include/AgileDashboard/TaskboardPaneInfo.php +6 −1 Go to diff View file
M plugins/testplan/include/TestPlanPaneInfo.php +2 −2 Go to diff View file
R plugins/agiledashboard/include/AgileDashboard/Milestone/Pane/PaneInfo.php Go to diff View file