Feed UIDs are not unique when the event record is from a View relationship

Created on 20 July 2016, about 8 years ago
Updated 15 November 2023, 11 months ago

When a view is based on something other than the event record, the UIDs in the .ics file may not be unique because the UIDs are based on the base field, not the event node. For example, I have a view that is a User based view that uses Relationships to find all the scheduled events on the user's calendar. Because the base field is the user's User entity, the $entity_id part of line 204 ($event['uid'] = "calendar.$entity_id.$date_field_name.$date_field_delta@$domain";) is the user's UID, making all the calendar UIDs identical. Consequently, calendar applications like Apple Calendar only import the last item.

πŸ› Bug report
Status

Fixed

Version

3.0

Component

iCal Export

Created by

πŸ‡ΊπŸ‡ΈUnited States John Franklin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024