diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2012-09-27 17:03:09 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2012-09-27 17:03:09 +0200 |
commit | 4dfe38e9dd2e737bd351163730f9fcb24e40b66e (patch) | |
tree | b89a318ac9120a76b4b29b4df516f5c278772737 /sonar-server | |
parent | bb4e9b76c5f3b8404cd451c9050949569bc50128 (diff) | |
download | sonarqube-4dfe38e9dd2e737bd351163730f9fcb24e40b66e.tar.gz sonarqube-4dfe38e9dd2e737bd351163730f9fcb24e40b66e.zip |
SONAR-2602 fix compatibility with previous format of profile backup
Diffstat (limited to 'sonar-server')
-rw-r--r-- | sonar-server/src/main/java/org/sonar/server/configuration/ProfilesBackup.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sonar-server/src/main/java/org/sonar/server/configuration/ProfilesBackup.java b/sonar-server/src/main/java/org/sonar/server/configuration/ProfilesBackup.java index b0cf4abc6dd..825e6fb963c 100644 --- a/sonar-server/src/main/java/org/sonar/server/configuration/ProfilesBackup.java +++ b/sonar-server/src/main/java/org/sonar/server/configuration/ProfilesBackup.java @@ -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()); } |