Merge pull request #89 from Zentyal/jag/set-null-recurrence-pattern

In setupRecurrenceWithMasterEntit a null recurrence pattern is now inter...
This commit is contained in:
Julio J. García Martín
2015-03-02 09:16:38 +01:00

View File

@@ -81,6 +81,12 @@
blob = [mapiRecurrenceData asBinaryInMemCtx: memCtx];
pattern = get_AppointmentRecurrencePattern (memCtx, blob);
if (pattern == NULL) {
[self logWithFormat: @"Error parsing recurrence pattern. No changes in event recurrence will be done"];
return;
}
[(iCalCalendar *) parent
setupRecurrenceWithMasterEntity: self
fromRecurrencePattern: &pattern->RecurrencePattern];