diff --git a/ChangeLog b/ChangeLog index 95827b606..8f2fb9d2d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-01-07 Francis Lachapelle + + * UI/Scheduler/UIxAppointmentEditor.m ([UIxAppointmentEditor + -saveAction]): for recurrent events with an end date, the method + _adjustRecurrentRules must be called unconditionally. This fixes + the missing occurence on the last day. + 2008-01-06 Ludovic Marcotte * SoObjects/Appointments/SOGoCalendarComponent.m diff --git a/UI/Scheduler/UIxAppointmentEditor.m b/UI/Scheduler/UIxAppointmentEditor.m index 474f47611..9d5e37ff4 100644 --- a/UI/Scheduler/UIxAppointmentEditor.m +++ b/UI/Scheduler/UIxAppointmentEditor.m @@ -334,6 +334,9 @@ previousCalendar = [co container]; sm = [SoSecurityManager sharedSecurityManager]; + if ([event hasRecurrenceRules]) + [self _adjustRecurrentRules]; + if ([co isNew]) { if (componentCalendar && componentCalendar != previousCalendar) @@ -355,9 +358,6 @@ } else { - if ([event hasRecurrenceRules]) - [self _adjustRecurrentRules]; - // The event was modified -- save it. [co saveComponent: event];