CleanShot 2025-06-18 at 11.05.30@2x.png (107.3 KiB) Viewed 287 times
So when the Gantt is loaded and you click the button, you will get the error on the first task trying to get its total slack (probably some other fields too, but not the name, for example). After this error, the tab gets stuck and can't be reloaded.
add an invalid dependency from the first task to the third one (from parent to child)
How did you do that? It's not allowed to do for me, the spot is highlighted as invalid, since we are not allow to use dependencies from parent to child. What version of Gantt are you on?
Hi alex.l,
You need to set manuallyScheduled and add an invalid dependency manually in the source data, not via UI. This is v.6.2.1. And one more detail, the error goes from onComputationCycleHandlerSync function.
Such dependencies are forbidden because it causes cycles. The steps you did caused a cycle, the error is about that appeared in a console.
To be allowed to create forbidden dependencies which causes logic cycles, try to mark them active: false.
I understand that it's forbidden in UI. But the case from the real world: the data already has such broken dependencies. Shouldn't it be validated while loading (even with manuallyScheduled flag)? Or probably is there an option to call validation for manuallyScheduled tasks as well?