[Tickets #6606] Re: Problem with attend.php and getByUID()
bugs at horde.org
bugs at horde.org
Mon Apr 28 10:56:12 UTC 2008
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/6606
-----------------------------------------------------------------------
Ticket | 6606
Updated By | almarin at um.es
Summary | Problem with attend.php and getByUID()
Queue | Kronolith
Version | HEAD
Type | Bug
State | Feedback
Priority | 1. Low
Milestone |
Patch |
Owners |
-----------------------------------------------------------------------
almarin at um.es (2008-04-28 06:56) wrote:
That was my first try, and that solution consists in 3 steps:
- Retrieve an event with that UID, it doesn't mind which one
- Extract the CreatorID, to know the user who created the event.
- Get the creatorid's calendars and check, one by one, which one has the
event with that UID
That solution, apart from more complicated, has a problem with IMP (and
that is, maybe, another bug): when you accept an invitation with IMP and
you select "Add to my calendar" option, it doesn't respect the
creatorid!!!. Lightning does, but not IMP. That is because Lightning uses
api method contact/put (webdav) and IMP uses contact/import. Contact/put
has (api.php:512,513):
// Don't change creator/owner.
$event->setCreatorId($existing_event->getCreatorId());
contact/import hasn't got that instruction.
So, to summarize, i think that checking organizer could be valid only if
we ensure that creatorid is preserved everytime.
More information about the bugs
mailing list