Monotone-Parent: 353341fbefbec06fd82685f146d83bc9bf269172

Monotone-Revision: 98084e25c04125bc23a53907661020b8ac004a5d

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-07-27T22:02:29
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2011-07-27 22:02:29 +00:00
parent 091e7552a5
commit 05ed3cce9e
2 changed files with 11 additions and 0 deletions

View File

@ -1,5 +1,9 @@
2011-07-27 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* OpenChange/MAPIStoreAppointmentWrapper.m
(-getPidLidGlobalObjectId:inMemCtx:): work-around certain buggy
events which might now have a "CREATED" element.
* OpenChange/MAPIStoreContactsMessage.m: commented out
"-getPrOabName:inMemCtx:" and "-getPrOabLangid:inMemCtx:" as they
seem to be useful only for contact lists.

View File

@ -396,6 +396,13 @@ _fillAppointmentRecurrencePattern (struct AppointmentRecurrencePattern *arp,
/* /FIXME */
creationTime = [event created];
if (!creationTime)
{
[self logWithFormat: @"" __location__ ": event has no 'CREATED' tag -> inventing one"];
creationTime = [event lastModified];
if (!creationTime)
creationTime = [NSCalendarDate date];
}
creationFileTime = [creationTime asFileTimeInMemCtx: NULL];
[nsData appendBytes: &creationFileTime->dwLowDateTime length: 4];
[nsData appendBytes: &creationFileTime->dwHighDateTime length: 4];