Hey Guys,
This seems like a bug.
When you add a task to the gantt, with the STM enabled and recording you initially get one transaction, with a create, and update.
Then, when the response from the server comes back with the server generated id, another transaction is added with the task id being updated from the phantom id to the server generated id.
What this means, is that if someone wants to undo the add task, they need to press undo twice, the first one seemingly doing nothing.
Should the id update be encapsulated within the original transaction? Or is there any way to ignore the id update from the STM? Do I need to disable recording after adding a record? When would I re-enable recording?
Thanks for any help
Chris.