stable

Clone or download

Read-only

fix: Add DB transaction when deleting a project dashboard

Implements request #36841 Missing DB transaction when deleting a project dashboard No functional change expected when deleting a project dashboard. Why? If there is a problem while deleting a project dashboard, it should not leave leftover visits that will point to a non-existing dashboard. Everything should be deleted, or nothing. Change-Id: I4942090593ca6701ee47f38e236bc0444eb08477

Modified Files

Name
M src/common/Dashboard/Project/ProjectDashboardSaver.php +18 −8 Go to diff View file
M src/common/Project/Home.php +3 −0 Go to diff View file
M src/common/Project/ProjectXMLImporter.class.php +3 −0 Go to diff View file
M tests/unit/common/Dashboard/Project/ProjectDashboardSaverTest.php +62 −52 Go to diff View file
M tests/unit/common/Dashboard/Project/ProjectDashboardXMLImporterBase.php +2 −0 Go to diff View file