Closed (fixed)
Project:
FullCalendar
Version:
4.0.x-dev
Component:
JavaScript
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Jul 2026 at 18:18 UTC
Updated:
8 Aug 2026 at 05:35 UTC
Jump to comment: Most recent
Comments
Comment #3
mortona2k commentedI used claude to come up with a patch.
I don't completely understand what is happening, but looks like an issue with how drupal_static() is being used.
Otherwise, the change looks clean to me, and has good comments above the new code.
The preview is now working for me.
Comment #4
mandclu commentedI asked Claude to explain the proposed code changes:
Symptom: In Views UI preview, the calendar fails to render with a JS error: can't access property 'eventDrop', calendarOptions is undefined, thrown from buildCalendars() in fullcalendar.views.js.
Root cause (confirmed against the current code):
The proposed fix (MR !112)
Evaluation
This is the right fix, not a workaround. A couple of points worth noting rather than red flags:
Comment #6
mandclu commentedThanks for the work here. I was able to reproduce the problem, and verified that the fix solved it. Merged in.
I considered adding the suggested JS debugging line, but ultimately decided that if included it should probably be kept behind a debugging flag. That likely warrants a broader discussion, so leaving that for a separate issue.