From: wolfgang Date: Thu, 1 Nov 2007 22:22:00 +0000 (+0000) Subject: git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1215 d1b88da0-ebda-0310... X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f97d0ea87ead85f85673c685133bfa1908fc1222;p=scalable-opengroupware.org git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1215 d1b88da0-ebda-0310-925b-ed51d893ca5b --- diff --git a/ChangeLog b/ChangeLog index d3aeb5bc..8882bd88 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2007-11-01 Wolfgang Sourdeau + * SoObjects/SOGo/AgenorUserDefaults.m ([AgenorUserDefaults + -primaryFetchProfile]): make sure that the deserialized "values" + is an instance of NSMutableDictionary, otherwise we override it + with one. + * SoObjects/Mailer/SOGoMailObject+Draft.m ([SOGoMailObject -contentForReply]): make use of the SOGoMailReply WO page. diff --git a/SoObjects/SOGo/AgenorUserDefaults.m b/SoObjects/SOGo/AgenorUserDefaults.m index 39778f76..5c7db08d 100644 --- a/SoObjects/SOGo/AgenorUserDefaults.m +++ b/SoObjects/SOGo/AgenorUserDefaults.m @@ -158,7 +158,10 @@ static NSString *uidColumnName = @"c_uid"; mutabilityOption: NSPropertyListMutableContainers format: NULL errorDescription: &error]; - [values retain]; + if ([values isKindOfClass: [NSMutableDictionary class]]) + [values retain]; + else + values = [NSMutableDictionary new]; } ASSIGN (lastFetch, [NSCalendarDate date]);