]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-2602 fix compatibility with previous format of profile backup
authorSimon Brandhof <simon.brandhof@gmail.com>
Thu, 27 Sep 2012 15:03:09 +0000 (17:03 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Thu, 27 Sep 2012 15:03:09 +0000 (17:03 +0200)
sonar-server/src/main/java/org/sonar/server/configuration/ProfilesBackup.java

index b0cf4abc6dd91b469bdecf3c01fa8fad88734b7e..825e6fb963c4165afdbe684b9c59f3a132295438 100644 (file)
@@ -60,6 +60,7 @@ public class ProfilesBackup implements Backupable {
     xStream.aliasField("default-profile", RulesProfile.class, "defaultProfile");
     xStream.omitField(RulesProfile.class, "id");
     xStream.omitField(RulesProfile.class, "projects");
+    xStream.omitField(RulesProfile.class, "enabled");
     xStream.registerConverter(getActiveRuleConverter());
     xStream.registerConverter(getAlertsConverter());
   }