Bug in Scheduler - Deleting an Event changes the StartTime

We don't really delete events, we mark them as cancelled for historical reasons. However, when we delete an event the StartTime is munged. It would appear that when you delete an event it either "does or doesn't do what it does during an update", and update is correct. The StartTime of the appointment upon delete is changed (same with EndTime). Thus we end up only using the ID of the event on the server to re-read it from the database and then change the status and Save it. Whereas if the data wasn't changed we'd just set the status and save it.

(I'm in central time) 

Update:

{1/8/2025 8:30:00 AM}

Delete:
{1/8/2025 2:30:00 PM}

Maybe in a future release this can be made to ensure the StartTime/EndTime match what we would see on an Add and an Update.

- Mike


2 Replies

VR Vijay Ravi Syncfusion Team January 9, 2025 02:33 PM UTC

Hi Mike Griffin,
 

We consider your reported query with "Deleting an event in the schedule should update the corresponding event time" as a bug and logged the defect report. The fix for this defect will be included in our upcoming weekly patch release, which is expected to be rolled out by the January 28, 2025. You can track the status of the fix at the following link:

 

Feedback link: Deleting an event in the schedule should update the corresponding event time in React | Feedback Portal

 

Disclaimer: Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.


Regards,

Vijay



AK Ashokkumar Karuppasamy Syncfusion Team February 5, 2025 04:14 AM UTC

Hi Mike Griffin,


We are glad to announce that our weekly release (V28.2.4) has been rolled out successfully. The fix for the issue has been included in our weekly release(28.2.4). Upgrade to the latest version to resolve the issue.


Release notes:  https://ej2.syncfusion.com/react/documentation/release-notes/28.2.4?type=all#schedule

Sample: https://stackblitz.com/edit/react-t61bma1r-sg1q7bii?file=index.js

Feedback: https://www.syncfusion.com/feedback/64566/deleting-an-event-in-the-schedule-should-update-the-corresponding-event-time

Root Cause: During the delete operation, the appointment's time zone-adjusted start and end times were not being converted correctly before being passed in the event arguments..


We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.


Regards,

Ashok


Loader.
Up arrow icon