[dev] Re: [cvs] commit: kronolith/lib Driver.php

Jan Schneider jan at horde.org
Thu Jan 20 08:24:14 PST 2005


Zitat von Chuck Hagenbuch <chuck at horde.org>:

>>   We probably should also check if this UID already exist and either don't
>>   import the object in this case, or overwrite the existing one. Opinions?
>
> This should probably be handled in the import API method, and for 
> iTip updates
> to work correctly, we should probably be overwriting it. Unless we can
> determine, in the iTip viewer, that it's an update to an existing 
> event, not a
> new one, and then we should be calling replace, not import. I think I
> like that
> way better; that way if the UID already exists, and we're in import, we can
> throw an error.

Lost you. If it is an iTip update, we call update from the iTip viewer. If
it is not an iTip update, but an iTip message with the same UID, what do we
do then?

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/


More information about the dev mailing list