Blank bookings page

Hi,
I have upgraded my development site to the latest changes. When I browse to “Room Booking → Bookings” at: /rooms/calendar
I get an empty page. These errors are reported on the console:

TimelineItem.jsx:414 Uncaught TypeError: occurrences.map is not a function
    at TimelineItem.jsx:414:28
    at Array.map (<anonymous>)
    at TimelineItem.renderOccurrences (TimelineItem.jsx:412:8)
    at TimelineItem.render (TimelineItem.jsx:438:15)
    at finishClassComponent (react-dom.development.js:17485:1)
    at updateClassComponent (react-dom.development.js:17435:1)
    at beginWork (react-dom.development.js:19073:1)
    at HTMLUnknownElement.callCallback (react-dom.development.js:3945:1)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:3994:1)
    at invokeGuardedCallback (react-dom.development.js:4056:1)
redux.js:170 The above error occurred in the <TimelineItem> component:

    at TimelineItem (http://az-indico3-d.pitp.io:8000/dist/js/module_rb.8636430d.bundle.js:13217:5)
    at Overridden (http://az-indico3-d.pitp.io:8000/dist/js/react.b482abdf.bundle.js:66847:26)
    at ConnectFunction (http://az-indico3-d.pitp.io:8000/dist/js/react.b482abdf.bundle.js:67991:103)
    at EditableTimelineItem (http://az-indico3-d.pitp.io:8000/dist/js/module_rb.8636430d.bundle.js:11731:5)
    at div
    at div
    at div
    at div
    at Grid (http://az-indico3-d.pitp.io:8000/dist/js/react.b482abdf.bundle.js:75649:86)
    at List (http://az-indico3-d.pitp.io:8000/dist/js/react.b482abdf.bundle.js:78606:86)
    at div
    at div
    at div
    at AutoSizer (http://az-indico3-d.pitp.io:8000/dist/js/react.b482abdf.bundle.js:73394:86)
    at WindowScroller (http://az-indico3-d.pitp.io:8000/dist/js/react.b482abdf.bundle.js:82402:86)
    at div
    at MediaQuery (http://az-indico3-d.pitp.io:8000/dist/js/react.b482abdf.bundle.js:71099:23)
    at _OrientationSpec (http://az-indico3-d.pitp.io:8000/dist/js/common.e328393e.bundle.js:29398:9)
    at DailyTimelineContent (http://az-indico3-d.pitp.io:8000/dist/js/module_rb.8636430d.bundle.js:10972:5)
    at div
    at ElasticTimeline (http://az-indico3-d.pitp.io:8000/dist/js/module_rb.8636430d.bundle.js:12067:5)
    at div
    at div
    at Container (http://az-indico3-d.pitp.io:8000/dist/js/semantic-ui.bf4aec07.bundle.js:5940:24)
    at div
    at GridRow (http://az-indico3-d.pitp.io:8000/dist/js/semantic-ui.bf4aec07.bundle.js:3616:24)
    at div
    at Grid (http://az-indico3-d.pitp.io:8000/dist/js/semantic-ui.bf4aec07.bundle.js:3394:22)
    at Calendar (http://az-indico3-d.pitp.io:8000/dist/js/module_rb.8636430d.bundle.js:28361:5)
    at Overridden (http://az-indico3-d.pitp.io:8000/dist/js/react.b482abdf.bundle.js:66847:26)
    at ConnectFunction (http://az-indico3-d.pitp.io:8000/dist/js/react.b482abdf.bundle.js:67991:103)
    at Route (http://az-indico3-d.pitp.io:8000/dist/js/react.b482abdf.bundle.js:72501:29)
    at ConditionalRoute (http://az-indico3-d.pitp.io:8000/dist/js/common.e328393e.bundle.js:29133:7)
    at Switch (http://az-indico3-d.pitp.io:8000/dist/js/react.b482abdf.bundle.js:72703:29)
    at div
    at div
    at SidebarPusher (http://az-indico3-d.pitp.io:8000/dist/js/semantic-ui.bf4aec07.bundle.js:19761:25)
    at div
    at SidebarPushable (http://az-indico3-d.pitp.io:8000/dist/js/semantic-ui.bf4aec07.bundle.js:19702:25)
    at div
    at Router (http://az-indico3-d.pitp.io:8000/dist/js/react.b482abdf.bundle.js:72120:30)
    at ConnectedRouter (http://az-indico3-d.pitp.io:8000/dist/js/module_rb.8636430d.bundle.js:33633:7)
    at ConnectedRouterWithContext (http://az-indico3-d.pitp.io:8000/dist/js/module_rb.8636430d.bundle.js:33757:25)
    at ConnectFunction (http://az-indico3-d.pitp.io:8000/dist/js/react.b482abdf.bundle.js:67991:103)
    at App (http://az-indico3-d.pitp.io:8000/dist/js/module_rb.8636430d.bundle.js:14727:5)
    at Overridden (http://az-indico3-d.pitp.io:8000/dist/js/react.b482abdf.bundle.js:66847:26)
    at ConnectFunction (http://az-indico3-d.pitp.io:8000/dist/js/react.b482abdf.bundle.js:67991:103)
    at Provider (http://az-indico3-d.pitp.io:8000/dist/js/react.b482abdf.bundle.js:67701:3)

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

If this is a test DB (that port makes me think/hope it’s your test instance, not a production one), would you be able to share a pg_dump of it with me privately? I have an idea which feature causes it, but w/o knowing how to reproduce it, fixing it will be much more painful than necessary…

yes, it’s a test server. Where should I send it to?

adrian.moennich@cern.ch if you want to send it by email, if you want to share it via a download link you can also send it in a private message here.

PS: Please use pg_dump -Fc -f /tmp/wharever.dump yourdbname to create the dump - the -Fc option is the most convenient one to restore.

In the end this was caused by not having rebuilt the JS assets after updating.

thanks!