An issues-only repository for the Bryntum project management component suite which includes powerful Grid, Scheduler, Calendar, Kanban Task Board and Gantt chart components all built in pure JS / CSS / TypeScript
replace app.js in gantt-schedulerpro demo with one from this archive app.zip
run the demo
run foo1() or foo2() in the console, notice event changing the resource and left position
run gantt.project.stm.undo() not that only one action is reverted, depending on which function was called. foo1 moves event first and then changes assignment, foo2 uses reversed order
Problem appears to be related to the id collision between event and assignment. If assignement ids are updated to avoid the collision - undo works just fine.
Reported here: https://forum.bryntum.com/viewtopic.php?f=51&t=29971&p=151885#p151885
Steps to reproduce:
foo1()
orfoo2()
in the console, notice event changing the resource and left positiongantt.project.stm.undo()
not that only one action is reverted, depending on which function was called. foo1 moves event first and then changes assignment, foo2 uses reversed orderProblem appears to be related to the id collision between event and assignment. If assignement ids are updated to avoid the collision - undo works just fine.