stable

Clone or download

Read-only

feat: XML import/export of milestones in sidebar

The display or not of milestones in sidebar is included in the xml export of the project. At import, if the milestones are not displayed then the information is recorded in database. If they are displayed, then no information is recorded because it is the default behavior. You can try by exporting a project with or with milestones in sidebar, and importing it back. New project should have same settings. Remember that you must have feature flags activated. Part of story #35104: Milestones below Backlog Change-Id: I36d695da2db6850c7801c1ef8f661b1eea2a02fc

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/AgileDashboardXMLController.class.php +6 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/Sidebar/MilestonesInSidebarDao.php +27 −1 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/Milestone/Sidebar/MilestonesInSidebarXmlImport.php +39 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/Milestone/Sidebar/UpdateMilestonesInSidebarConfig.php +28 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/XMLExporter.class.php +26 −23 Go to diff View file
M plugins/agiledashboard/include/AgileDashboardRouter.class.php +4 −1 Go to diff View file
M plugins/agiledashboard/resources/xml_project_agiledashboard.rng +5 −0 Go to diff View file
M plugins/agiledashboard/resources/xml_project_agiledashboard_planning.rnc +2 −1 Go to diff View file
M plugins/agiledashboard/resources/xml_project_agiledashboard_planning.rng +5 −0 Go to diff View file
R tests/integration/tests/Milestone/Sidebar/MilestonesInSidebarDaoTest.php Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/AgileDashboard_XMLExporterTest.php +134 −7 Go to diff View file
A plugins/agiledashboard/tests/unit/AgileDashboard/Milestone/Sidebar/MilestonesInSidebarXmlImportTest.php +72 −0 Go to diff View file
A plugins/agiledashboard/tests/unit/Stub/Milestone/Sidebar/UpdateMilestonesInSidebarConfigStub.php +60 −0 Go to diff View file
M src/common/xml/resources/project/project.rng +5 −0 Go to diff View file
M src/common/xml/resources/project/xml_project_agiledashboard_planning.rng +5 −0 Go to diff View file