Hello Bryntum Team, some users were reporting an issue that happens from time to time. Not easy to reproduce.
When dragging and dropping events, there's a small chance that the application freezes and users are forced to refresh the page and potentially lose any unsaved progress they had.
We noticed that when this "freeze/crash" happens, the following error is displayed in the console.
The error happens because in the version we had (5.3.5) the eventRecord type couldn't be undefined, but seems like in rare cases we do receive undefined for it, causing the exception when trying to do "undefined.get()". In theory that should be fixed now that we properly verify with "?" before trying to call get.
But I still need to understand if this console error is related or not with the freezing issue.
The version this issue is happening is 5.3.5, and we recently upgraded to 6.1.7. As you can see in the attachment, after the upgrade, now the types for the params are optional.
I would like to know if:
- This intermittent freezing issue was something known back in 5.3.5 and if 6.1.7 would potentially fix it
- Why eventRecord can be undefined during a drag&drop? What are the cases where it will be defined and undefined when getDateConstraints is triggered?