Our powerful JS Calendar component


Post by lx0 »

Hi,

I encountered a load loop of the CrudManager, when using the weekResources view in the Calendar 6.0.2.

I attached an example showing the issue.

To reproduce the issue, select the resourceWeek view (preselected in the example) and go back two calendar weeks via the top left calendar week navigation arrows. In the developer network tab you will see a firework of load requests.

The key changes I did compared to the Angular Basic Example was activating the resourceWeek View and enabling the "load on demand" feature.

BR,
Alex

Attachments
Screenshot 2024-07-29 at 11.49.53.png
Screenshot 2024-07-29 at 11.49.53.png (72.98 KiB) Viewed 184 times
Screenshot 2024-07-29 at 11.47.51.png
Screenshot 2024-07-29 at 11.47.51.png (105.29 KiB) Viewed 185 times
calendar-angular-basic.zip
(152.09 KiB) Downloaded 14 times

Post by Animal »

It's combining alwaysLoadNewRange with ResourceView.

LoadOnDemand responds to a set of events being requested from the EventStore. So each subview asks the store for its set of events.

Normally, if the EventStore already contains that range, it won't send a request. But setting alwaysLoadNewRange means it always will. So it will keep looping.

Not sure what we can do about it.


Post by Animal »


Post Reply