stable

Clone or download

Read-only

Duplicate widgets at project creation

This is part of story #10173 Have multiple dashboards All the widgets and their content are duplicated when creating a new project from a template. A refactoring on Widget::getInstance will be done in a next commit to be able to unit test this class Change-Id: I998d9e6d9cb03e748352b40a76892a5e4384df23

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/AgileDashboardController.class.php +7 −3 Go to diff View file
M plugins/agiledashboard/include/Planning/PlanningController.class.php +7 −3 Go to diff View file
M src/common/Dashboard/Project/ProjectDashboardDao.php +7 −7 Go to diff View file
M src/common/Dashboard/Project/ProjectDashboardDuplicator.php +108 −5 Go to diff View file
M src/common/Dashboard/Project/ProjectDashboardRetriever.php +4 −1 Go to diff View file
M src/common/Dashboard/Widget/DashboardWidgetDao.php +46 −0 Go to diff View file
M src/common/project/OneStepCreation/OneStepCreationController.class.php +5 −1 Go to diff View file
M src/utils/import_project_xml.php +7 −3 Go to diff View file
M src/www/soap/project/index.php +5 −1 Go to diff View file
M tests/integration/ProjectCreationTest.php +6 −2 Go to diff View file
M tests/integration/ProjectImportTest.php +12 −6 Go to diff View file
M tests/lib/TestDataBuilder.php +5 −1 Go to diff View file