Closed (fixed)
Project:
Recurring Events
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Sep 2019 at 07:16 UTC
Updated:
19 Nov 2019 at 23:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
the_glitch commentedComment #3
owenbush commentedThanks for raising the issue. I'll take a look at the event instances.
The event series not populating on the calendar makes sense as there is no date for a series, there is a date recurrence pattern. In reality, event series will never be shown on calendars, only their instances will.
Comment #4
owenbush commentedDid you try patching AddToCalendar with the patch in this issue: https://www.drupal.org/project/addtocalendar/issues/2932734 ?
Comment #5
the_glitch commentedI applied the patch. It fixed the crashing issue but the instance node's date still isn't being picked up and populated to whichever calendar it links to. In the case of using an Add To Calendar button in an event series, could it pick up the recur rules and populate the linked calendar as a repeating event?
Comment #6
the_glitch commentedIssue still exists for Event Instances. When in /admin/structure/events/instance/settings/display>Event Date field and "Show Add to Calendar" is checked all instance nodes crash with this error:
Comment #7
the_glitch commentedComment #8
owenbush commentedAttached is a patch to resolve the error shown in #6 - it looks like addtocalendar is expecting the following function to exist EventInstance::getTitle(). By default I have decided to just pull that straight from the series and bypass the field inheritance for now.
This is ready for review.
Comment #9
the_glitch commentedtested and working so far. Thank you Mister Bush.
Comment #10
mrpauldriver commentedComment #11
owenbush commentedMarking this as RTBC.
Thanks all.
Comment #13
owenbush commentedThis has been merged into the 8.x-1.x-dev branch. Marking this as fixed.