From 6fe0e56b18a268bc503c35b6ac77cbed36845053 Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Tue, 10 May 2011 18:07:05 +0000 Subject: [PATCH] See ChangeLog Monotone-Parent: e3483e71ca758cace03c82b0820f4801a330088c Monotone-Revision: a218827fb530f29cfabc1b1814e47476cbf2cf65 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2011-05-10T18:07:05 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 5 +++++ SoObjects/SOGo/NSDictionary+Utilities.m | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index ea89b892d..d5396e8ce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-05-10 Ludovic Marcotte + + * NSDictionary+Utilities.m (userRecordAsLDIFEntry): + Fix to avoid a crash when backing up resources' LDIF entries + 2011-05-06 Francis Lachapelle * UI/WebServerResources/UIxPreferences.js diff --git a/SoObjects/SOGo/NSDictionary+Utilities.m b/SoObjects/SOGo/NSDictionary+Utilities.m index 25a066ec8..4ea7469c2 100644 --- a/SoObjects/SOGo/NSDictionary+Utilities.m +++ b/SoObjects/SOGo/NSDictionary+Utilities.m @@ -1,6 +1,6 @@ /* NSDictionary+Utilities.m - this file is part of SOGo * - * Copyright (C) 2007 Inverse inc. + * Copyright (C) 2007-2011 Inverse inc. * * Author: Wolfgang Sourdeau * @@ -172,7 +172,9 @@ || [currentKey hasPrefix: @"objectClass"] || [currentKey hasPrefix: @"c_"] || [currentKey isEqualToString: @"dn"] - || [currentKey isEqualToString: @"isGroup"])) + || [currentKey isEqualToString: @"isGroup"] + || [currentKey isEqualToString: @"isResource"] + || [currentKey isEqualToString: @"numberOfSimultaneousBookings"])) [self _appendLDIFKey: currentKey toString: ldifString]; }