Monotone-Parent: f735bdc8793af33775f3d62a37f21c20a54806c9

Monotone-Revision: 88f0ce5639727c85b38f30956343e35a4d05148c

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-03-16T21:02:59
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2009-03-16 21:02:59 +00:00
parent 47aeb8f7dd
commit 6d328b0c65
2 changed files with 9 additions and 1 deletions

View File

@ -1,5 +1,11 @@
2009-03-16 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/Appointments/SOGoCalendarComponent.m
([SOGoCalendarComponent
-lookupName:lookupNameinContext:localContextacquire:acquire]):
initialize "isNewComponent" to NO if it's not, to avoid problems
with unitialized memory.
* SoObjects/SOGo/LDAPSource.m ([LDAPSource
-setBaseDN:newBaseDNIDField:newIDFieldCNField:newCNFieldUIDField:newUIDFieldmailFields:newMailFieldsandBindFields:newBindFields]):
bug setting the CN and UID field only if they were set before,

View File

@ -319,7 +319,9 @@ _occurenceHasID (iCalRepeatableEntityObject *occurence, NSString *recID)
{
recID = [lookupName substringFromIndex: 9];
occurence = [self lookupOccurence: recID];
if (!occurence)
if (occurence)
isNewOccurence = NO;
else
{
occurence = [self newOccurenceWithID: recID];
isNewOccurence = YES;