Bug 405884

Summary: kcal library used by korganiser is not compliant with RFC 5545
Product: [Frameworks and Libraries] frameworks-kcalendarcore Reporter: ad1rie3
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: CONFIRMED ---    
Severity: normal CC: aspotashev, dvratil
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: ICS contain the bug

Description ad1rie3 2019-03-26 10:11:49 UTC
Created attachment 119049 [details]
ICS contain the bug

SUMMARY


The kcal library used by korganiser  is not compliant with RFC 5545 and make errors in different software when the generated ical is shared with ical server.



The Ical generated with the library contains UNTIL and COUNT for the RRULE



 RRULE:FREQ=YEARLY;UNTIL=19961027T030000;COUNT=17;BYDAY=-1SU;BYMONTH=9



 Some Error :

 Invalid RRULE value (UNTIL and COUNT can not occur in the same rule) near
 line # 14 Reference: 3.8.5.3. Recurrence Rule
 <http://icalendar.org/iCalendar-RFC-5545/3-8-5-3-recurrence-rule.html>


STEPS TO REPRODUCE
1. Create an event and tick all the day
2. Export the event : RRULE contain both UNTIL and COUNT
3. 

OBSERVED RESULT
RRULE contain both UNTIL and COUNT



SOFTWARE/OS VERSIONS
Linux/KDE Plasma: fedora 29 Korganiser 5.10.2 libkcal 4.3

KDE Plasma Version: 5.14.5
KDE Frameworks Version: 5.55
Qt Version: 5.11.3

ADDITIONAL INFORMATION
Comment 1 ad1rie3 2019-03-26 10:19:02 UTC
I have open bug in libical github, maybe is the source of the problem : 
https://github.com/libical/libical/issues/370