Bug 415145

Summary: AkonadiCalendar can't handle specific RECURRENCE-ID;TZID value
Product: [Frameworks and Libraries] Akonadi Reporter: Miikka <miikka.veijonen>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal CC: miikka.veijonen, winter
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Miikka 2019-12-13 16:50:24 UTC
SUMMARY
Akonadi does not handle vCal events correctly when there's a specific RECURRENCE-ID;TZID set. I'm using Korganizer & Akonadi with Office365 (EWS) and in vCal events pulled from there there is RECURRENCE-ID;TZID set and if it's set to "Europe/Budapest:20191210T100000" Korganizer and konsolecalendar are not able to show these events at all (konsolecalendar crashes and Korganizer says: org.kde.pim.akonadicalendar: Can't find any incidence with ui XXX even the event with that ID exists: I'm even able examine the event using akonadiconsole).

When I manually remove that RECURRENCE-ID;TZID line from vcal event everything works normally. And if I set it to RECURRENCE-ID;TZID=Europe/Budapest:20191210 everything works normally. Only if the line continues with that ...T100000 (Europe/Budapest:20191210T100000) this bug appears.

STEPS TO REPRODUCE
1. Create a vCalendar file where is RECURRENCE-ID;TZID with value: Europe/Budapest:20191210T100000
2. Korganizer does not show these events at all and konsolecalendar crashes when trying to show this specific event by using --uid argument

EXPECTED RESULT
Events should show up in Korganizer and in konsolecalendar normally.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
Operating System: openSUSE Leap 15.1
KDE Plasma Version: 5.17.4
KDE Frameworks Version: 5.64.0
Qt Version: 5.13.1
Kernel Version: 4.12.14-lp151.28.36-default
OS Type: 64-bit
Processors: 4 × AMD Opteron™ Processor 6272
Memory: 5.8 GiB of RAM

ADDITIONAL INFORMATION
Akonadi version: 19.12.0-lp151.108.1.x86_64

I copied the konsolecalendar crash information here: https://pastebin.com/Mriy6z9s