Premium support for our pure JavaScript UI components


Post by takafumi ohtake »

When I'm using undo/redo feature of bryntum gantt, I face an error sometimes then undo/redo doesn't work anymore.

An error is shown in browser's console.

gantt.module.js?454302:13 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'get')
    at _0x305c19.equality (gantt.module.js?454302:13)
    at EngineTransaction.onQuarkCalculationCompleted (gantt.module.js?454302:13)
    at EngineTransaction.calculateTransitionsStackGen (gantt.module.js?454302:13)
    at Generator.next (<anonymous>)
    at EngineTransaction.calculateTransitions (gantt.module.js?454302:13)
    at Generator.next (<anonymous>)
    at runGeneratorAsyncWithEffect (gantt.module.js?454302:13)
    at gantt.module.js?454302:13

It's reproduced at your demo site.

Freeze-undo-redo.mp4
(1.69 MiB) Downloaded 79 times

I think this is a bug of bryntum gantt.
I hope it will be fixed.


Post by alex.l »

Reproduced, here is a ticket: https://github.com/bryntum/support/issues/3698
Looks like a race condition bug, it should finish calculations on background, so we will maybe block those buttons before all done.
Thanks you for clear instructions!

All the best,
Alex


Post by nickolay »

@takafumi Hi, can you please try to reproduce this issue in the latest online examples? https://bryntum.com/products/gantt/examples/advanced/

Looks like it has been already fixed.


Post by takafumi ohtake »

Hi nickolay,

Thank you for letting me know.
I checked it.
Yes. I couldn't reproduce the issue in the demo site and our product anymore.

Thank you for fixing it😄


Post Reply