All handlers are doubled after calling SchedulePlanningCalendar.setFirstDayOfWeek()
OpenUI5 version: 1.108
Browser/version (+device/version): All
Hi there, I have posted a question on StackOverflow, but I want to ask here as well.
Stackoverflow url: https://stackoverflow.com/questions/74642982/planningcalendar-setfirstdayofweek-makes-handlers-handle-events-twice
In general, it seems that I have some logic in my local setup which doubles all handlers of SchedulePlanningCalendar after calling setFirstDayOfWeek().
If I create a really small setup I am not able to reproduce the issue.
Can you tell me exactly what happens upon invoking planningCalendar.setFirstDayOfWeek() that I might be breaking?
Hello @malkoto1,
Thank you for sharing this finding. I've created an internal incident 2280185751. The status of the issue will be updated here in GitHub.
Regards, Nikolay Hristov
Hi there,
This was mostly an information query. Did you manage to find some information that might be of help?
Hello @malkoto1 ,
It turns out there was an issue with event handlers not being cleaned up properly.
I've made a fix. It will be available in version 1.110.0, which should release around mid January.
Best regards, Stefan
Great News!
Thank you @Lyserg-Diethel
Fixed with 53d487febe6c12f3c4ede4b473df49f4240a1ecc