Regression since version 4.4.0
See original GitHub issueAfter upgrading to version 4.4.0
i get the following exception, during selecting a timespan in the calender. When reverting back to 4.3.0
it works as usual.
SitesCalendar.js:585 TypeError: Cannot read property 'calendar' of undefined
at TimeGridSlicer../node_modules/@fullcalendar/core/main.esm.js.Slicer._sliceDateSpan (main.esm.js:8519)
at TimeGridSlicer.sliceDateSelection (main.esm.js:1552)
at TimeGridSlicer../node_modules/@fullcalendar/core/main.esm.js.Slicer.sliceProps (main.esm.js:8446)
at main.esm.js:82
at mapHash (main.esm.js:1265)
at ResourceTimeGrid../node_modules/@fullcalendar/resource-timegrid/main.esm.js.ResourceTimeGrid.render (main.esm.js:81)
at ResourceTimeGrid../node_modules/@fullcalendar/core/main.esm.js.Component.receiveProps (main.esm.js:3951)
at ResourceTimeGridView../node_modules/@fullcalendar/resource-timegrid/main.esm.js.ResourceTimeGridView.render (main.esm.js:161)
at ResourceTimeGridView../node_modules/@fullcalendar/core/main.esm.js.Component.receiveProps (main.esm.js:3951)
at CalendarComponent../node_modules/@fullcalendar/core/main.esm.js.CalendarComponent.renderView (main.esm.js:6298) {componentStack: "↵ in FullCalendar (at SitesCalendar.js:591)↵ in SitesCalendar"}
It looks like the https://github.com/fullcalendar/fullcalendar/blame/master/packages/core/src/common/slicing-utils.ts#L168 context refactor commit broke something in combination with how the fullcaendar-react
component works.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Mule Runtime Engine 4.4.0 Release Notes
November patch update 4.4.0-20221111 addresses a regression in the previous November patch update, 4.4.0-20221026, and includes the fixes in that patch.
Read more >34163 – [4.4 Regression] 10% performance regression since Nov 1 ...
I built gcc version 4.4.0 20090126 [trunk revision 143680] for i386-redhat-linux and was dismayed to find that libmudflaps had a few FAILs: Results...
Read more >1798425 – Regression: KVM Importing fails due to an old ...
Bug 1798425 ; Previously, importing virtual machines failed when the source version variable was null. With this update, validation of the source compatibility ......
Read more >USN-3522-4: Linux kernel (Xenial HWE) regression
Details. USN-3522-2 fixed a vulnerability in the Linux Hardware Enablement kernel for Ubuntu 14.04 LTS to address Meltdown (CVE-2017-5754).
Read more >linux 4.4.0-67.88 source package in Ubuntu
[0bda:0328] Card reader failed after S3 (LP: #1664809) - usb: hub: Wait ... linux-doc: Linux kernel specific documentation for version 4.4.0.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
https://codesandbox.io/s/fullcalendar-functional-mydrf This sandbox demonstrates the error when selecting a timespan. If you change the @fullcalendar dependencies to 4.3.0, the error disappears.
And as a bonus - when you don’t use a functional React component, but rewrite it to a Class component, it works even with 4.4.0 🤯 https://codesandbox.io/s/fullcalendar-class-7u48i
Sorry for the delay in responding to your issue, I have just begun triaging on this repo. Please see this post about the state of the repo (https://github.com/fullcalendar/fullcalendar-react/issues/66) for more info.
I believe this ticket in the main repo is for the same issue which was fixed in version 4.4.1 which was just releasd: https://github.com/fullcalendar/fullcalendar/issues/5266