From 8a67f9cf03c51568a4364b18fc0630775e6dba66 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Thu, 8 Nov 2007 17:06:32 +0000 Subject: [PATCH] Monotone-Parent: 52d09aa0142faf1d899aec818efc042bb0a80af2 Monotone-Revision: 786210997f829cabfafa14947b9eca68c7e9a190 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-11-08T17:06:32 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 7 +++++++ SoObjects/SOGo/AgenorUserDefaults.m | 2 ++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 392b9c753..fe3109dc9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-11-08 Wolfgang Sourdeau + + * SoObjects/SOGo/AgenorUserDefaults.m ([AgenorUserDefaults + -primaryFetchProfile]): when no row is returned, we initialize + "values" to a new dictionary. This solves a bug where the defaults + would not be initialized properly. + 2007-11-07 Wolfgang Sourdeau * SoObjects/SOGo/SOGoGCSFolder.m ([-compare:otherFolder]): method diff --git a/SoObjects/SOGo/AgenorUserDefaults.m b/SoObjects/SOGo/AgenorUserDefaults.m index 5c7db08dc..e5b541ea5 100644 --- a/SoObjects/SOGo/AgenorUserDefaults.m +++ b/SoObjects/SOGo/AgenorUserDefaults.m @@ -163,6 +163,8 @@ static NSString *uidColumnName = @"c_uid"; else values = [NSMutableDictionary new]; } + else + values = [NSMutableDictionary new]; ASSIGN (lastFetch, [NSCalendarDate date]); defFlags.modified = NO;