Adding a task and drawing a dependency breaks undo/redo #6209
Labels
bug
Something isn't working
example
forum
Issues from forum
high-priority
Urgent to have fixed
in progress
info requested
Further information is requested
not reproducible
OEM
OEM customer
Forum post
"Hello
We've found a weird bug. Creating a task in SchedulerPro, and afterwards just checking if a dependecy is valid through dragging dependency, undoing the task and redoing it, breaks the scheduler. See attached video.
Code is attached and the example used is this:
https://bryntum.com/products/schedulerpro/examples-scheduler/undoredo/
We've located the fault in the code on version 5.2.10:
File SchedulerProProjectMixin.ts on line 278 in function isDependencyCyclic:
When this is called the redoing of an undo on create task fails. If we don't check for isDependencyCyclic then undo/redo works fine."
adding_task_and_drawing_dependency_breaks_undoredo.txt
The text was updated successfully, but these errors were encountered: