[Kde-pim] iCalendar semantic
Patrick Ohly
patrick.ohly at gmx.de
Mon Mar 17 13:29:29 GMT 2014
On Mon, 2014-03-17 at 13:04 +0000, Sergio Martins wrote:
> 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.
At least the iCalendar file resource doesn't seem to do any of this. So
this is a bug in the resource?
> 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.
Which client lib? Are you talking about one item or the entire
collection?
> Not sure about concurrency situation though.
I'll address that in my response to Christian.
Bye, Patrick
_______________________________________________
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