stable

Clone or download

Read-only

Disabled widget is no more created with XML import

This is part of story #14086 disable widgets for project dashboard Manually add the widget name into project_dashboards_disabled_widgets. Then this widget cannot be added with project XML import. Change-Id: Ia35e0a5987be48a41aa70944e14d16b0b2324029

Modified Files

Name
M src/common/Dashboard/Project/ProjectDashboardXMLImporter.php +26 −8 Go to diff View file
M src/common/Project/ProjectXMLImporter.class.php +4 −1 Go to diff View file
M tests/phpunit/common/Dashboard/Project/ProjectDashboardXMLImporterBase.php +12 −5 Go to diff View file
M tests/phpunit/common/Dashboard/Project/ProjectDashboardXMLImporterLinesTest.php +59 −0 Go to diff View file
M tests/phpunit/common/Dashboard/Project/ProjectDashboardXMLImporterPluginTest.php +4 −1 Go to diff View file