[Cosmo-dev] Item.uid and icalendar UID
Morgen Sagen
morgen at osafoundation.org
Mon Oct 16 16:21:18 PDT 2006
On Oct 16, 2006, at 3:31 PM, Randy Letness wrote:
> There is a bug (https://bugzilla.osafoundation.org/show_bug.cgi?
> id=7000)
> that contains some discussion about how an event's UID relates to
> Item.uid. Currently, we index the UID present in the .ics file in
> a separate
> table, and generate another unique identifier for Item.uid. This
> allows
> for the same event (with the same icalendar UID) to exist in separate
> calendars on Cosmo.
> The bug talks about setting Item.uid with the UID contained in
> the event .ics data. If we do this, then the same event (with the
> same
> icalendar UID) cannot exist in multiple calendars on Cosmo because
> these events would have the same Item.uid, which fails the unique
> constraint of Item.uid. Unlike Chandler, Cosmo does not allow the
> same
> event to be a member of multiple calendar collections.
>
> So the question is: should Cosmo allow multiple calendars to contain
> events with the same icalendar UID, making sure the UID is unique
> within the same calendar collection? This means that Item.uid must
> contain a separate unique identifier in addition to the event's UID.
> Or should Cosmo enforce unique icalendar UIDs across calendars
> (with Item.uid set to the event UID)?
From the client standpoint, it would be unfortunate if we couldn't
publish an event into two different calendars. To be specific:
Chandler does indeed PUT .ics resources with the same ical "UID:"
into different CalDAV calendar collections.
~morgen
More information about the cosmo-dev
mailing list