Add to calendar (iCal) not validating

Created on 3 July 2023, over 1 year ago
Updated 6 July 2023, over 1 year ago

Problem/Motivation

There is an optional module called social_event_addtocal to add your event to your calendar.
The iCal version is not exporting a correct format .ics file.

Steps to reproduce

- Enable social_event_addtocal
- Go to the config page on admin/config/opensocial/event-addtocal and enable iCal
- Create an event, and export it
- Copy the content of the iCal object and paste it in https://icalendar.org/validator.html and note it fails to validate on multiple parts
- Also test it with different timezone
-- For example UTC as there are 2 ways to define it, the Z as the end or the tzid. Not both.
- Also try to import the ICS into outlook. It will not import due to errors.

Proposed resolution

Rewrite the output so that it passes validation

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

11.9

Component

Code (back-end)

Created by

🇳🇱Netherlands robertragas

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

Comments & Activities

Production build 0.71.5 2024