[dev] iCalendar stuff

Chuck Hagenbuch chuck at horde.org
Tue Jul 20 20:36:22 PDT 2004


Quoting Karsten Fourmont <fourmont at gmx.de>:

> a) _kronolith_replace($guid, $content, $contentType)
>
> this is supposed to replace an existing entry. The guid is explicitly
> given as a parameter. What do we do if $content contains an "UID:" that is
> different from $guid? Current behaviour is: UID overrides $guid. This most
> likely results in a failed update attempt. (SQL update ...)

I think here the UID should overwrite the mapped uid, but not $guid.

> 2) _kronolith_import($content, $contentType, $calendar = null)
>
> here we're supposed to import a new event. Again: what do we do if a 
> "UID:" is specified in the content? What if this guid already exists? 
> Replace the existing entry? And if it exists in a different calendar?

This one I think we settled - we store it as an attribute, but don't use it as
the primary key.

-chuck

--
"Regard my poor demoralized mule!" - Juan Valdez


More information about the dev mailing list