[Kde-pim] iCalendar semantic

Sergio Martins iamsergio at gmail.com
Mon Mar 17 13:04:05 GMT 2014


On Monday, March 17, 2014 13:29:00 Patrick Ohly wrote:
> Hello!
> 
> I've got a bug report
> (https://bugs.freedesktop.org/show_bug.cgi?id=74342) and (now that I
> started running and analyzing them myself) some failing tests around
> iCalendar 2.0 semantics. Some of these have been known issues waiting
> for some interested developer to deal with, but it seems to be worse
> than I thought.
> 
> Anyway, the key question is: in the Akonadi architecture, which entity
> is responsible for ensuring that a collection of calendar items meets
> iCalendar 2.0 semantics? Is it something that resources do or is the
> client of Akonadi responsible?
> 
> Specific cases that need to be handled:
>       * Adding or updating items with some mandatory properties missing,
>         like UID - this is the root problem of bug #74342.
>       * Adding a new item with the same UID/RECURRENCE-ID combination as
>         an already existing one - covered by testInsertTwice, fails with
>         Akonadi.
> 
> If the user of Akonadi is responsible for ensuring unique UIDs, how can
> this be done reliably, taking into account that multiple different
> clients may be inserting the same item concurrently?
> 
> Bye, Patrick

Hi,

I don't think we have a central place for this, it's up to the resource to do 
it.

If you're using korganizer it will ignore invalid data that the resource 
returns, and it will never send invalid data to the resource because the 
client libs protect against that. Not sure about concurrency situation though.


Regards,
Sérgio Martins

_______________________________________________
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