Premium support for our pure JavaScript UI components


Post by pzs »

Hi,
We found the following issue with SchedulerPro 5:
When we update an event using EventModel.set() method and certain fields are present (inactive, constraintType or constraintDate), then the Scheduler is not refreshed (changes are not visible).

For example, after running this code:

scheduler.eventStore.getAt(0).set({
  name: 'test123',
  inactive: undefined
})

event is not refreshed on the Scheduler, but when we manually call the scheduler.refresh() method, changes get visible.

What we found so far:

  • if one of these fields are present with undefined/null value, Scheduler is not updated: inactive, constraintType or constraintDate
  • we can constantly reproduce this issue inside our application with SchedulerPro 5.0.5 and 5.1.1
  • we did not have this issue with Scheduler 4.3.9
  • we have not been able to reproduce this issue with the basic scheduler example yet (outside of our app)

Post by tasnim »

Hi,
Thanks for reporting. We'll investigate it. Here is a ticket https://github.com/bryntum/support/issues/5028

Best regards,
Tasnim

Best of luck,
Tasnim


Post by pzs »

Hi Tasnim,

I could reproduce the bug outside of our application:

It seems it's SchedulerPro specific issue, and it works in normal Scheduler.

Steps to reproduce:

Excepted: first event name is updated to 'test123'
Actual: first event name does not updated

Notes:

  • if you run schedulerPro.refresh(), then it will be updated

Post by tasnim »

Thanks for your information,
I've updated the ticket.

Best of luck :)
Tasnim

Best of luck,
Tasnim


Post Reply