Closed (duplicate)
Project:
FullCalendar
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Jan 2019 at 11:09 UTC
Updated:
5 Jun 2025 at 04:07 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
dpiThe error is showing because the API no longer exists for 2.x. Fullcalendar was built using DR 1.x API's.
I encourage FC to upgrade, as users of DR 1.x have an upgrade path to 2.x: https://www.drupal.org/docs/8/modules/recurring-dates-field/date-recur-1...
Functionality of old API's are easy to replicate, see API guide: https://www.drupal.org/docs/8/modules/recurring-dates-field/date-recur-f...
Comment #3
subhojit777Comment #4
subhojit777Comment #5
subhojit777The patch in #3 was causing issues with timezone. The dates were displayed in UTC. Fixed it now. The solution is also simpler.
Comment #6
mrpauldriver commentedI am getting views errors after patching. Not sure if I'm doing anything wrong.
Comment #7
socialnicheguru commentedI get that error too @MrPaulDriver
Comment #8
elamanThe last patch didn't work. Here is the fix, where instead of pushing occurrences into
$eventarray, I push it into$eventsarray.Using latest dev FullCalendar and latest stable Date Recur 2.0.
Comment #9
elamanThis might be a better approach, given that view results, might override date occurrences if they have the same index/delta.
Comment #10
elamanFix compatibility with regular date fields for the previous patch.
Comment #11
duaelfrHi @elaman,
Thanks a lot for your patches!
I think something went wrong with your last patch, though. It seems to be replacing the entire FullCalendar.php file without focusing on your real changes. Would you try to upload it again? It would also be really appreciated if you could add an interdiff to only show the things you changed since your previous patch.
Comment #12
grahl10 has an additional one-line change:
Attaching what would be 10 without replacement. The cause for this issue is #3098523: Convert CRLF to LF.
Still working on actually getting that running on my end.
Comment #13
grahlAttached is a slightly different approach which tries to simplify event aggregation in that function and adds a workaround for unlimited events (this should be taken from some source in the field but is hardcoded for now at 100). I've removed variables which were no longer needed after those changes.
This patch will likely not apply without #3098523: Convert CRLF to LF already applied.
Note that $date_range is not used and probably should be.
Comment #14
dcam commentedI'm closing this issue in favor of #3256797: Fullcalendar is incompatible with Date Recur 3.x only because FullCalendar has changed so much that these patches are likely to be irrelevant.