Bug 405884 - kcal library used by korganiser is not compliant with RFC 5545
Summary: kcal library used by korganiser is not compliant with RFC 5545
Status: CONFIRMED
Alias: None
Product: frameworks-kcalendarcore
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-26 10:11 UTC by ad1rie3
Modified: 2019-05-15 02:03 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
ICS contain the bug (1.43 KB, text/calendar)
2019-03-26 10:11 UTC, ad1rie3
Details

Note You need to log in before you can comment on or make changes to this 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