Monotone-Parent: c7cef69f421b88269a1f0f48450e7746468a6cb8

Monotone-Revision: aa77eb2904bbe4270428126e707735db8d28bea4

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-02-06T20:11:11
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2009-02-06 20:11:11 +00:00
parent 98495ca363
commit 03ef2ce3f3
2 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,9 @@
2009-02-06 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/SOGo/SOGoGCSFolder.m ([SOGoGCSFolder
-aclsForUser:uidforObjectAtPath:objectPathArray]): cache an empty
array if not acl have been returned for the specified user.
* SoObjects/Contacts/SOGoContactGCSFolder.m ([SOGoContactGCSFolder
-lookupContactsWithFilter:filtersortBy:sortKeyordering:sortOrdering]):
same as below.

View File

@ -817,6 +817,8 @@ static NSArray *childRecordFields = nil;
if (!acls)
{
acls = [self _fetchAclsForUser: uid forObjectAtPath: objectPath];
if (!acls)
acls = [NSArray array];
[self _cacheRoles: acls forUser: uid forObjectAtPath: objectPath];
}