Closed (cannot reproduce)
Project:
Fullcalendar View
Version:
5.2.5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Jun 2023 at 00:28 UTC
Updated:
25 Jun 2026 at 03:08 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
mingsongWhat is the result if you choose other display format for that view?
More specifically, what is the date of the first row of the result? If it is not a validated date format or is null. The calendar view won't work.
Comment #3
mingsongComment #4
fallenturtle commentedIt's my oldest event: Tue, Jan 1 2013, 12:22am –12:32pm EST
I'm actually going to switch over to FullCalendar Block since he seems you're winding down this module and it uses a newer version of the fullcalendar library.
Comment #5
superlolo95 commentedI also have this issue.
I am using a single smart date field
The browser console shows
Comment #6
faysalami commentedI was able to reproduce this issue on Drupal 10.6.12 with fullcalendar_view 5.2.5.
The issue happened when using:
- Default date source: Date of first view result
- An exposed search/filter on the calendar View
Without the patch, the calendar either failed to load correctly or did not open on the month of the searched event.
This patch updates the default date handling so the first result date is only used when an exposed search/filter has actually been submitted. On a normal initial page load, the calendar continues to open on the current month.
It also validates the first result date before using it and adds initialDate along with defaultDate.
Tested locally:
- Initial calendar load with no search opens the current month.
- Searching for an event opens the month of the first matching result.
- PHP syntax check passes.
Comment #7
faysalami commentedComment #8
faysalami commentedRerolled the patch to use $view->getExposedInput() instead of raw request query parameters. This supports exposed filters submitted through AJAX and non-AJAX GET requests.
Tested with fullcalendar_view 5.2.5 and Drupal 10.6.12.
Comment #9
mingsongAs suggested on #5 (https://www.drupal.org/project/fullcalendar_view/issues/3366896#comment-...), this issue is related to the Smart Date module. Please be advised that this module only supports field types implemented by Drupal core.
If you are using the Smart data module with Fullcalendar.js, please try other modules, for example.
https://www.drupal.org/project/fullcalendar
Regarding this issue, I traced every path on 5.2.5:
Comment #10
mingsongChange the issue status due to on 5.2.5, with the field types this module actually supports, the reported crash is not reproducible.