From 4dfe38e9dd2e737bd351163730f9fcb24e40b66e Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Thu, 27 Sep 2012 17:03:09 +0200 Subject: [PATCH] SONAR-2602 fix compatibility with previous format of profile backup --- .../main/java/org/sonar/server/configuration/ProfilesBackup.java | 1 + 1 file changed, 1 insertion(+) 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()); } -- 2.39.5