Bug 411464

Summary: korganizer invitation response is missing VTIMEZONE calendar component
Product: [Applications] korganizer Reporter: nine
Component: invitationsAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.12.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description nine 2019-08-31 09:26:23 UTC
SUMMARY

korganizer generates invalid ICAL files when replying to an invitation.

Kopano support diagnosed the issue and gave the following information:

"The DTSTART and DTEND field include a TZID parameter to specify the timezone.
According to RFC 2445 <https://tools.ietf.org/html/rfc2445#page-30> this syntax
is indeed valid however as stated in this page "An individual "VTIMEZONE"
calendar component MUST be specified for each unique "TZID" parameter value
specified in the iCalendar object."

To comply with the RFC, kOrganizer should either add this VTIMEZONE component
or remove the TZID parameter and add a Z-tag at the end of date-time value.
The latter option is the one used by Thunderbird."

STEPS TO REPRODUCE
1. Send an invitation from Kopano to a kontact user
2. Have the kontact user accept the invitation

OBSERVED RESULT

Kopano fails to parse the ICS file generated by korganizer.

EXPECTED RESULT

The ICS file is well formed and Kopano understands it.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.16.4
KDE Frameworks Version: 5.61.0
Qt Version: 5.13.0