Page 1 of 1

EventModel.set() - Uncaught InternalError: too much recursion

Posted: Mon Sep 27, 2021 11:43 am
by pzs

Hi,

I'd like to report a bug: if we assign the event to a new resource and assign it back immediately, then we get "Uncaught InternalError: too much recursion" error.

How to reproduce:

  • open basic demo: https://bryntum.com/examples/scheduler/basic/
  • run in console:
    let e = scheduler.eventStore.getAt(0); e.set('resourceId', 'r2'); e.set('resourceId', 'r1');
    
    And then you can see the "Uncaught InternalError: too much recursion" error.

Note:

  • we're using Scheduler 4.2.5 with React,
  • if we use "await setAsync()", then it works

Thanks,


Re: EventModel.set() - Uncaught InternalError: too much recursion

Posted: Mon Sep 27, 2021 12:47 pm
by mats

Reproduced: https://github.com/bryntum/support/issues/3467

Thanks for reporting!


Re: EventModel.set() - Uncaught InternalError: too much recursion

Posted: Tue Aug 09, 2022 10:51 am
by pzs

Is there any update? Thanks!


Re: EventModel.set() - Uncaught InternalError: too much recursion

Posted: Tue Aug 09, 2022 12:43 pm
by tasnim

Hi,
Thank you for your question, we will consider it for 5.2.x release. Please subscribe to the ticket so that it will notify you when it fixes.

Best of luck :),
Tasnim


Re: EventModel.set() - Uncaught InternalError: too much recursion

Posted: Thu Dec 01, 2022 11:17 am
by pzs

It seems it's fixed in SchedulerPro 5.2.1