Gantt dataprocessor fires wrong action

I have implemented my own dataprcessor. It is connected to our db (dynamoDB).
For some reason, when I call the gantt.addTask() function, it fires an “update” action before the task is created (which makes the update query fail of course).

In the picture you can see that the stack leads back to the addTask function and that the data processor is called with the “update” action.

Any help will be appreciated.

Hello Refael,
Unfortunately, I couldn’t reproduce the issue:
http://snippet.dhtmlx.com/5/017ab0b0f

It may or may not be related to the Gantt configuration, but it is hard to suggest what might be wrong as I don’t see your code.
Please, reproduce the issue in the snippet above, then click on the “Share” button and send me the link.
Or send me a ready demo with all the necessary Javascript and CSS files so that I can reproduce the issue locally.