About your screenshot in the last post. Please, always provide steps to reproduce, it saves time for investigation. And please provide a version of Gantt you use. I am not able to reproduce the issue using the next scenario:
To reproduce duplicate ID issues follow below steps - >
1) create few task + dependency etc.. in gantt chart (using same dynamic project creation flow as mentioned in last post ).
2) Export json, import json using next code:
Unfortunately I still not able to reproduce the bug you described using your scenario and your version of Gantt in our advanced example.
Could you please try it yourself?
I've attached the app with my changes that I used for tests.
Except the changes I applied (assign project after gantt created and apply json data before add new task), I added few tasks and dependencies to gantt before clicked on addTask button, as you mentioned in your script.
The ticket about DependencyStore not being able to consume its own JSON has been resolved (https://github.com/bryntum/support/issues/1633). The issue was that "exported" JSON string did not take field persistance and serialization settings into account, instead just supplying the raw value.
Now it will respect those settings, which should make the exported JSON importable again. The fix will be available in the next release, or in nightlies tomorrow. Hope it helps!