[Korganizer-devel] [Bug 156757] KOrganizer interprets recurrence rules incorrectly

Reinhold Kainhofer reinhold at kainhofer.com
Sun Jan 27 13:09:24 CET 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=156757         




------- Additional Comments From reinhold kainhofer com  2008-01-27 13:09 -------
Am Sonntag, 27. Januar 2008 schrieb Nicolas Lécureuil:
> Mandriva bugreport:   http://qa.mandriva.com/show_bug.cgi?id=37188
> Description of problem:
> In the attached calendar there is a recurrent event scheduled on the 6.2.
> KOrganizer shows it on the 5.2. instead. Attached screenshots show the
> offending event in both KOrganizer and Sunbird.


Ah, yes, that's because KOrganizer doesn't support changing single events of a 
recurrent sequence using the Recurrence-ID. In particular, the .ics file 
contains the two events:

BEGIN:VEVENT
[...]
UID:3B243DC9-8E71-4601-94FF-5DEEF4FACE39
DTSTART;TZID=Europe/Copenhagen:20080205T081500
SUMMARY:OOD&P/JC
RRULE:FREQ=WEEKLY;INTERVAL=1;COUNT=7
END:VEVENT

BEGIN:VEVENT
[...]
UID:3B243DC9-8E71-4601-94FF-5DEEF4FACE39
RECURRENCE-ID;TZID=Europe/Copenhagen:20080205T081500
DTSTART;TZID=Europe/Copenhagen:20080206T081500
SUMMARY:OOD&P/JC
END:VEVENT


Notice that the first event defines the recurring sequence, starting on Feb 5, 
8:15. Now, the second event has the same UID, but uses Recurrence-ID to 
specify that one particular instance of the sequence is to be modified (and 
shifted to the date given in . As a consequence, UID can no longer be used to 
point to one specific object, but KOrganizer internally uses UID to identify 
objects.

Yes, that is one of the shortcomings of KOrganizer w.r.t. the iCalendar spec, 
but we currently simply lack the manpower to do much about it.

Cheers
Reinhold

PS: In KOrganizer we work around this issue by assigning a new id to a 
detached single event of a sequence (and by setting related-to to the 
original UID, so that we still have some kind of link).


More information about the Korganizer-devel mailing list