Error after calling changeEventId()

Good day,

We have a requirement to generate a custom event id on the server. To do this, I save the new event using dhtmlajax, then get the returned unique id:

scheduler.changeEventId(id, loader.xmlDoc.responseText);
scheduler.updateEvent(loader.xmlDoc.responseText);

But we are getting an error after the onEventSave:

Microsoft JScript runtime error: Unable to set value of the property ‘text’: object is null or undefined

It seems that the old id is still being used internally, so the event object is null.

Hello,

Do you use dhtmlx dataprocessor?
Can you please paste all the code just before you want to change id and after it.

Kind regards,
Ilya