See ChangeLog

Monotone-Parent: 733bf0f551fbe77a8e705d2645ef216b33ebdb1b
Monotone-Revision: 174ea5c01f9f0634f1e2fad8b1483c6aed1d4f68

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2010-09-20T17:18:37
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Ludovic Marcotte
2010-09-20 17:18:37 +00:00
parent 70efdbc06b
commit 40d2f1dfdd
2 changed files with 17 additions and 4 deletions

View File

@@ -1,3 +1,10 @@
2010-09-20 Ludovic Marcotte <lmarcotte@inverse.ca>
* SoObjects/SOGo/SOGoGCSFolder.m
(+folderWithSubscriptionReference:inContainer:)
We now consider the localIsSubscription when
building the folderName
2010-09-20 Francis Lachapelle <flachapelle@inverse.ca>
* SoObjects/SOGo/SOGoContentObject.m (-davContentLength): use UTF8

View File

@@ -172,13 +172,19 @@ static NSArray *childRecordFields = nil;
path = [NSString stringWithFormat: @"/Users/%@/%@/%@",
login, [pathElements objectAtIndex: 0], ocsName];
folderName = [NSString stringWithFormat: @"%@_%@",
[login asCSSIdentifier], ocsName];
localIsSubscription = ![login isEqualToString:
[aContainer ownerInContext: localContext]];
if (localIsSubscription)
folderName = [NSString stringWithFormat: @"%@_%@",
[login asCSSIdentifier], ocsName];
else
folderName = ocsName;
newFolder = [self objectWithName: folderName inContainer: aContainer];
[newFolder setOCSPath: path];
[newFolder setOwner: login];
localIsSubscription = ![login isEqualToString:
[aContainer ownerInContext: localContext]];
[newFolder setIsSubscription: localIsSubscription];
if (![newFolder displayName])
newFolder = nil;