support icon indicating copy to clipboard operation
support copied to clipboard

Agenda view shows Cannot read properties of undefined (reading 'columnIndex') message

Open ExtAnimal opened this issue 5 months ago • 0 comments

Forum post

Dear Support Team

We've got the following bug messages, and after spending a few days to debug it, it seems that it's in your side.

Here is the console message

2.c96f7ac8.chunk.js?488815:2 Uncaught TypeError: Cannot read properties of undefined (reading 'columnIndex')
    at yw.matchRowCount (2.c96f7ac8.chunk.js?488815:2:2113850)
    at yw.calculateRowCount (2.c96f7ac8.chunk.js?488815:2:2114696)
    at yA.populateStore (2.c96f7ac8.chunk.js?488815:2:3409186)
    at yA.populateStoreSoon [as populateStoreSoonNow] (2.c96f7ac8.chunk.js?488815:2:3397798)
    at yA.s (2.c96f7ac8.chunk.js?488815:2:129551)
    at yA.s (2.c96f7ac8.chunk.js?488815:2:120009)
    at 2.c96f7ac8.chunk.js?488815:2:125186
matchRowCount @ 2.c96f7ac8.chunk.js?488815:2
calculateRowCount @ 2.c96f7ac8.chunk.js?488815:2
populateStore @ 2.c96f7ac8.chunk.js?488815:2
populateStoreSoon @ 2.c96f7ac8.chunk.js?488815:2
s @ 2.c96f7ac8.chunk.js?488815:2
s @ 2.c96f7ac8.chunk.js?488815:2
(anonymous) @ 2.c96f7ac8.chunk.js?488815:2
requestAnimationFrame
requestAnimationFrame @ 2.c96f7ac8.chunk.js?488815:2
s @ 2.c96f7ac8.chunk.js?488815:2
onCalendarStoreChange @ 2.c96f7ac8.chunk.js?488815:2
trigger @ 2.c96f7ac8.chunk.js?488815:2
trigger @ 2.c96f7ac8.chunk.js?488815:2
trigger @ 2.c96f7ac8.chunk.js?488815:2
onDataChange @ 2.c96f7ac8.chunk.js?488815:2
onDataChange @ 2.c96f7ac8.chunk.js?488815:2
onDataChange @ 2.c96f7ac8.chunk.js?488815:2
onDataChange @ 2.c96f7ac8.chunk.js?488815:2
trigger @ 2.c96f7ac8.chunk.js?488815:2
splice @ 2.c96f7ac8.chunk.js?488815:2
add @ 2.c96f7ac8.chunk.js?488815:2
add @ 2.c96f7ac8.chunk.js?488815:2
add @ 2.c96f7ac8.chunk.js?488815:2
addAsync @ 2.c96f7ac8.chunk.js?488815:2
doCreateEvent @ 2.c96f7ac8.chunk.js?488815:2
doCreateEvent @ 2.c96f7ac8.chunk.js?488815:2
createEvent @ 2.c96f7ac8.chunk.js?488815:2
s.<computed> @ 2.c96f7ac8.chunk.js?488815:2
callback @ 2.c96f7ac8.chunk.js?488815:2
trigger @ 2.c96f7ac8.chunk.js?488815:2
doAction @ 2.c96f7ac8.chunk.js?488815:2
triggerElement @ 2.c96f7ac8.chunk.js?488815:2
onMouseClick @ 2.c96f7ac8.chunk.js?488815:2
m @ 2.c96f7ac8.chunk.js?488815:2
17:37:06.619 2.c96f7ac8.chunk.js?488815:2 Uncaught (in promise) Error: Calendar widget date ingestion must be passed a Date, or a YYYY-MM-DD date string
    at yA.ingestDate (2.c96f7ac8.chunk.js?488815:2:3325985)
    at yA.scrollTo (2.c96f7ac8.chunk.js?488815:2:3394509)
    at DO.doEditEvent (2.c96f7ac8.chunk.js?488815:2:3573136)
    at DO.editEvent (2.c96f7ac8.chunk.js?488815:2:3129433)
    at DO.editNewlyCreatedEvent (2.c96f7ac8.chunk.js?488815:2:3571157)
    at DO.onEventAutoCreated (2.c96f7ac8.chunk.js?488815:2:3571015)
    at e.trigger (2.c96f7ac8.chunk.js?488815:2:91610)
    at e.onViewCatchAll (2.c96f7ac8.chunk.js?488815:2:3609674)
    at yA.trigger (2.c96f7ac8.chunk.js?488815:2:91610)
    at yA.editAutoCreatedEvent (2.c96f7ac8.chunk.js?488815:2:3330975)

Steps to reproduce: Launch the example site: https://bryntum.com/products/calendar/examples/frameworks/react/javascript/bigdataset/build/ Switch to Agenda view Right click on the last day of the agenda, and try to Add event. Magic happens.

It seems that the cause is somewhere around the method how the last page that got rendered by scrolling.

ExtAnimal avatar Nov 15 '25 08:11 ExtAnimal