JavaScript Error after delete



with ext dhtmlxscheduler_recurring.js we get an Javascript error after delete event.
We can not figure our what cause the problem, may you have an idea?


input.xml (398 Bytes)

dhtmlxscheduler_recurring.js:32 Uncaught TypeError: Cannot read property ‘toString’ of undefined
at Object.scheduler._is_virtual_event (dhtmlxscheduler_recurring.js:32)
at Object. (dhtmlxscheduler_recurring.js:28)
at Object.z [as ev_oneventdeleted] (dhtmlxscheduler.js:37)
at Object.obj.callEvent (dhtmlxscheduler.js:36)
at Object.scheduler.deleteEvent (dhtmlxscheduler.js:169)
at Object._dp_hook_delete (dhtmlxscheduler.js:263)
at window.dataProcessor.afterUpdateCallback (dhtmlxscheduler.js:63)
at window.dataProcessor.afterUpdate (dhtmlxscheduler.js:65)
at r (dhtmlxscheduler.js:58)
at dhtmlxscheduler.js:149
scheduler._is_virtual_event @ dhtmlxscheduler_recurring.js:32
(anonymous) @ dhtmlxscheduler_recurring.js:28
z @ dhtmlxscheduler.js:37
obj.callEvent @ dhtmlxscheduler.js:36
scheduler.deleteEvent @ dhtmlxscheduler.js:169
_dp_hook_delete @ dhtmlxscheduler.js:263
afterUpdateCallback @ dhtmlxscheduler.js:63
afterUpdate @ dhtmlxscheduler.js:65
r @ dhtmlxscheduler.js:58
(anonymous) @ dhtmlxscheduler.js:149
setTimeout (async)
o.onreadystatechange @ dhtmlxscheduler.js:149
XMLHttpRequest.send (async)
_call @ dhtmlxscheduler.js:150
query @ dhtmlxscheduler.js:147
_sendData @ dhtmlxscheduler.js:58
sendAllData @ dhtmlxscheduler.js:60
sendData @ dhtmlxscheduler.js:55
setUpdated @ dhtmlxscheduler.js:54
(anonymous) @ dhtmlxscheduler.js:263
z @ dhtmlxscheduler.js:37
obj.callEvent @ dhtmlxscheduler.js:36
scheduler.deleteEvent @ dhtmlxscheduler.js:169
(anonymous) @ dhtmlxscheduler.js:242
r.callback @ dhtmlxscheduler.js:94
(anonymous) @ dhtmlxscheduler.js:41
setTimeout (async)
e @ dhtmlxscheduler.js:40
a.onclick @ dhtmlxscheduler.js:46


Hello @IFM ,

I tried to reproduce it in the latest version of the scheduler, but recurring event’s deletes correctly:

Here is a demo:

Could you please provide more details on how to reproduce it, or reproduce it in the demo above(open the demo => reproduce the issue => click the “Share” button) and post here a new link?


Long Time for my reply but the problem is still there.

I think the problem is only in Version 5.0.
How to create a snippet with 5.0 js files?