Error After Updating task

Hey, There’s an error after updating task in version dhtmlx-gantt@7.1.1
I have another project with version 7.0.13 but it doesn’t have this error.


Can you please tell me what’s wrong?

Hello Ayman,
I couldn’t reproduce the issue in the following snippet:

Probably, the issue is related to the Gantt configuration, but it is hard to suggest what might be wrong as I don’t see your code.
Please, add your configuration in the following snippet and make sure that the issue is reproduced there:
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.

Hey, Sorry for late.
I reproduced the issue in your link but i didn’t get the error.
Here’s a sandbox with the issue i’m facing.

Try Adding a task or updating it.

Hello Ayman,
Unfortunately, the demo application is not running, and there is no Gantt code:

1 Like

What, How ><
I’ll check it, thanks for letting me know

I added the code now, can you check it?

Hello Ayman,
The example is still not working, and there is no Gantt code:

Why this is happening, I checked before I share the link!
Here a zip file for the project: (490.9 KB)

Hello Ayman,
Thank you for sending the demo. I reproduced the issue. It occurs because you add the Undo extension after Gantt is initialized:

You need to enable extensions before Gantt is loaded. So, it is expected that some things are not working.
As soon as I move the undo plugin activation to the page with Gantt, the issue is no longer reproduced:

1 Like

Thank you very much @ramil. You’re really a life saver!

1 Like