Hello,
We have been following your client-side examples especially E1547 (How to implement a client-side appointment editing form with custom fields) and E1717 (Client-side appointment form for shared resources) and have found a bug while updating recurrence appointments in both the examples. It does not work.
On a related note, there seems to be an anamoly while defining OnAppointmentRefresh and OnAppointmentEditSeriesRefresh functions in E1547. The OnAppointmentRefresh function calls ShowAppointmentForm function by passing Appointment (apt) while OnAppointmentEditSeriesRefresh calls the same ShowAppointmentForm function by passing apt.GetRecurrencePattern(). In this case, custom fields will not be updated.
Steps to Reproduce:
- Create an appointment with Recurrence (e.g. Daily -> End after (3) occurrences);
- Select any of the recurrent appointment and click 'Edit Series'
Actual Results:
- An Javascript error is thrown and the Appointment Update form is not displayed
Expected Results:
Appointment Update form should be displayed with correct Recurrence options selected and correct custom fields filled in