(elevated to its own issue from here viewtopic.php?p=73617#p73617)
Hi,
We've found an issue when deleting a task then undoing that deletion.
Steps to Reproduce
- Go to the undo/redo example here: https://www.bryntum.com/examples/gantt/undoredo/
- Delete the "Run tests" task
- Undo
- In the browser console, run the following:
gantt.project.taskStore.changes
There are items in both the modifications
array and the added
array.
The item in the added
array is the biggest issue because if the user now saves, a duplicate task will be created.
Please note that there seem to be a few related issues here, not just what we've described above.