mvc core syncfusion ej2 scheduler always creates a new event when editing an event which is part of a series of events

Please I dont know what I am doing wrong but I realised anytime I doubleclick an event that is part of a series and I save it creates a new record with similar details after updating the event.

In the screenshot below, i edited an event in a series, but it shows added=1 and changed =1, then it creates a new event in the database with the edited details but leaves the original edited record unchanged

Image_8142_1738696730504


Image_9175_1738696699129


7 Replies

AK Ashokkumar Karuppasamy Syncfusion Team February 5, 2025 04:13 PM UTC

Hi Michael Marmah,

Edit Event

In this scenario, when an event is edited, a recurrence exception is added to the  changeRecords. Edited event is  newly
add added Recoreds.

Delete Event

In this scenario, when an event is deleted , a recurrence exception is added to the changeRecords.

Edit series

in this scenario, when an event in a series is edited, if you choose to edit the entire series, the previously edited data is added deleteRecords, and a new recurring event is created with the changeRecords data added

Delete series

In this scenario, the data is added to the deleteRecords


Let us know any furthur assistance.

Regards,
Ashok



MM Michael Marmah February 5, 2025 11:10 PM UTC

Hi Ashok,

Thanks for the response, but you havn't addressed my issue

Why does the scheduler inserts a new record whenever i edit a n event that is a series





AK Ashokkumar Karuppasamy Syncfusion Team February 6, 2025 03:32 PM UTC

Hi Michael Marmah

When a single event within a recurring series in the scheduler is edited, such as modifying the Subject, StartTime, or EndTime, the field values are updated. Consequently, the modified fields, including Subject, StartTime, EndTime, and others, will be reflected accordingly. The updated event values will be stored separately, with the modified event saved as a new record. This ensures that the value persists, and a new record is added. Please let us know if you need any further assistance.


Regards,
Ashok



MM Michael Marmah February 6, 2025 03:42 PM UTC

Thank you for the explanation,

But I don't want a new record to be added to the database anytime I update an event that is part of a recurring series



AK Ashokkumar Karuppasamy Syncfusion Team February 7, 2025 01:26 PM UTC

Hi Michael Marmah,

Currently, it is not possible to fulfill your requirement of adding a new record to the database each time an event from a recurring series is updated. Please let us know if you need any further assistance.

Regards,
Ashok



MM Michael Marmah February 8, 2025 06:52 AM UTC

Hi Ashokkumar,

You didnt understand my explanation.

I DONT want a new record to be added to the database anytime I update an event that is part of a recurring series, Currently, that is what is happening, you can refer to the screenshot I sent



AK Ashokkumar Karuppasamy Syncfusion Team February 10, 2025 04:54 PM UTC

Hi Michael Marmah,

We apologize for any inconvenience caused and wish to provide a clear and detailed explanation of our previous update.


When a single event within a recurring series in the scheduler is edited, such as modifying the Subject, StartTime, or EndTime, the updated field values are reflected accordingly. The modified event is stored separately as a new reference record to ensure that the changes persist while maintaining the original series.

RecurrenceException: This field is used to specify exceptions to the recurring pattern. It is a string field that contains the dates to be excluded from the recurring event series. If a single occurrence in the series is edited and modified to a different time, the edited date is added to the parent event's RecurrenceException field.

RecurrenceID: This field is used to link an exception event to the original recurring event. It is an integer field that matches the ID of the original parent recurring event when a series is edited. For example, if you have a recurring event with a parent ID of 2 and an occurrence is modified to a different time, a new reference record will be created with a RecurrenceID of 2.

For your reference, we have attached images below.





So, when an already edited occurrence is edited or updated again, we maintain the reference by adding it as a new record. Let us know if you need any further assistance

Regards,
Ashok


Loader.
Up arrow icon