[Kde-pim] KCalCore::Calendar::dissociateOccurrence() does not set the incidence UID / RecurrenceId
Dumez, Christophe
christophe.dumez at intel.com
Wed Jul 6 09:14:50 BST 2011
Hi,
I'm maintaining KCal-EDS in MeeGo, which relies on KCalCore.
When using KCalCore::Calendar::dissociateOccurrence(), I noticed that
it does not set the UID / RecurrenceId of the returned detached
occurrence. Is that the expected behavior for this method?
I personally would consider this as bug since I cannot think of any
reason why we would want this method not the set the UID /
RecurrenceID of the returned occurrence. This is error-prone IMHO
because if the caller adds the returned incidence to the calendar
without properly setting the UID/RecurrenceId first, the incidence is
not recognized as an occurrence (exception) of the original recurrence
event.
Could anyone tell me if this is the expected behavior? If so, I
believe that this should be clearly stated in the documentation.
If not, I will be happy to file a bug report and submit a patch.
Thanks in advance,
--
Dr. Christophe Dumez
Linux Software Engineer
Intel Finland Oy - Open Source Technology Center
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list