Scheduler breaks when first day of week is set to 1 (Monday) and you try to change event date to Sunday

Hi,
There is a serious bug in the scheduler when firstdayofweek is set to Monday/1

When you try to change the date of an event you will get the following error.

Error: System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at Syncfusion.Blazor.Schedule.SfRecurrenceEditor.OnStartDate()
   at Syncfusion.Blazor.Schedule.SfRecurrenceEditor.OnParametersSetAsync()
   at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)

You can see this happening on your demo page at https://blazor.syncfusion.com/demos/scheduler/working-days?theme=bootstrap4

Try to change one of the events to Sunday and you will see the error

2 Replies 1 reply marked as answer

RV Ravikumar Venkatesan Syncfusion Team April 28, 2021 01:06 PM UTC

Hi Fergus, 

Greetings from Syncfusion support. 

We have validated your reported problem and confirm this as a defect at our end. We have logged the below bug report. The fix will be included in our weekly release scheduled for mid of May and would appreciate your patience until then.  
 
 
Kindly let us know if you need any further assistance. 
 
Regards, 
Ravikumar Venkatesan 



NR Nevitha Ravi Syncfusion Team May 5, 2021 02:44 PM UTC

Hi Fergus, 

Thanks for your patience. 

The reported issue ‘exception when adding appointments in Sunday when first day of week is Monday’ has been resolved in our latest weekly patch release v19.1.59. So please upgrade your version to avail the fix. 

Regards, 
Nevitha 


Marked as answer
Loader.
Up arrow icon