Hi,

On Tue, Mar 8, 2011 at 5:07 AM, Ben <[email protected]>wrote:

> Any ideas and code suggestions, feature requests, etc welcome.
>

The PUBLISH method in an iCal object is for just that -
publishing/advertising your calendar. So, you should not try to set the
participation status in that object ( personal.ics ). Somehow the script is
able to screw it up - ideally, it should be met with a 403 Forbidden error (
reproducible using a caldav client like cadaver from cli ).

So you can probably identify the conflicts from the personal.ics object -
and then browse to that particular event under
$url/personal/<event-uid>.ics  and set the desired participation status.
But I'd suggest you don't take this path since there will be a bunch of
problems - for eg., if an event (resource booking) is modified - or when
recurring events are involved etc.

Also, since I maintain all the entries of non-conflicting events in a
separate file - the cancel_val ( to determine if the METHOD is CANCEL) is
required in case that event exists in the file containing non-conflicting
events - and hence should be removed from there.
-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to