Our powerful JS Calendar component


Post by durban »

https://www.bryntum.com/examples/calendar/calendar-scheduler/

When I try to create an event when I include the Timeline view, but not defining it as the default view, the event isn't created and leaves this error :
Uncaught (in promise) TypeError: t._bodyRectangle is undefined

To reproduce the bug:

  • Go to the scheduler timeline example (link)
  • Change 'mode' value from 'timeline' to another value (week for example)
  • Try to create a new event

Post by mats »

Thanks for a very clear bug report, I've reproduced it and opened this GitHub issue: https://github.com/bryntum/support/issues/4212


Post by durban »

Hello, I tried to create an event, but I still had some issues with it.

[link is removed by moderator because it contained Bryntum sources]

Step to reproduce the bug:
1- Open index.html, from the linked minimal test case (using Bryntum calendar 5.0.0), in a browser (tested wtih Firefox)
2- Create an event with Drag and Drop

But the problem "fixes" itself with the following steps
1- After creating an event, go to "Timeline" view and locate the event
2- Edit it and cancel it
And now I can create event with any view activated.

I would like to create an event without errors. Is there something that I'm missing?


Post by mats »

A mistake was made in the fix, now fixed properly with test coverage. https://github.com/bryntum/support/issues/4212


Post Reply