]> source.dussan.org Git - sonarqube.git/commit
SONAR-3126 Fix side effect of this ticket: PropertiesBackup
authorFabrice Bellingard <bellingard@gmail.com>
Sun, 20 May 2012 13:33:23 +0000 (15:33 +0200)
committerFabrice Bellingard <bellingard@gmail.com>
Sun, 20 May 2012 13:33:23 +0000 (15:33 +0200)
commit44ff7e7806469b587c1e3f252ad00d696b2b52db
tree3613f08e63257362dacc3b4387390c43e515668b
parentef4a67c6bbc6c2a25c9efa65cc6ac5d2b8c9db3b
SONAR-3126 Fix side effect of this ticket: PropertiesBackup

=> As now Sonar batch relies on "sonar.core.id" property to check
   that the batch connects to the same DB as the configured remote
   server, this property should not be cleared when restoring a
   backup from the UI.
   Actually, every "sonar.core.*" property should not be cleared.
sonar-server/src/main/java/org/sonar/server/configuration/PropertiesBackup.java
sonar-server/src/test/resources/org/sonar/server/configuration/PropertiesBackupTest/shouldImportProperties-result.xml
sonar-server/src/test/resources/org/sonar/server/configuration/PropertiesBackupTest/shouldImportProperties.xml