Page 1 of 1

[REACT] Scheduler crashes when resources' children state is modified

Posted: Tue Dec 06, 2022 4:10 pm
by pennyp

Hello bryntum team,
I have encountered a crash while using Scheduler Pro in tree mode. To give you a little bit of a background this happens when children of resources are defined as an array of 1 object e.g

children: [
                {
                    id: 'r11',
                    name: 'Starting Point',
                    level: 'E',
                    orderNum: 0,
                },
            ],)

and their state is modified to

children: true

I have replicated this issue in one of your basic examples and attached it below.

basic.zip
(2.26 MiB) Downloaded 43 times

Re: [REACT] Scheduler crashes when resources' children state is modified

Posted: Wed Dec 07, 2022 7:33 am
by alex.l

Thanks for the report and the test case! I've reproduced the bug and opened a ticket https://github.com/bryntum/support/issues/5724