Monotone-Parent: f96325bc9b859ddbcc63da21499cf52232a3c494

Monotone-Revision: 615d0049b5d7ae8a1edf8885f3eeccd5f1b83aa5

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-09-16T23:47:36
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2009-09-16 23:47:36 +00:00
parent 16f341b805
commit 07284f19b4
2 changed files with 10 additions and 0 deletions

View File

@ -1,5 +1,10 @@
2009-09-16 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/SOGo/SOGoGCSFolder.m (-lookupName:inContext:acquire:):
instanciated objects may be queried twice during the same session,
before being saved into the database. Therefore we cache them to
avoid losing their version number.
* UI/WebServerResources/AdministrationUI.js,
UI/WebServerResources/ContactsUI.js,
UI/WebServerResources/MailerUI.js,

View File

@ -62,6 +62,7 @@
#import "NSString+DAV.h"
#import "DOMNode+SOGo.h"
#import "SOGoCache.h"
#import "SOGoContentObject.h"
#import "SOGoGroup.h"
#import "SOGoParentFolder.h"
@ -591,6 +592,10 @@ static NSArray *childRecordFields = nil;
[obj setIsNew: YES];
}
}
if (obj)
[[SOGoCache sharedCache]
registerObject: obj withName: key inContainer: self];
}
return obj;