[#6650] webdav delete issues
Summary webdav delete issues
Queue Kronolith
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners Chuck Hagenbuch <chuck (at) horde (dot) org>
Requester Michael Rubinsky <mrubinsk (at) horde (dot) org>
Created 04/24/2008 (17 days ago)
Due
Updated 05/01/2008 (10 days ago)
Assigned 04/25/2008 (16 days ago)
Resolved 05/01/2008 (10 days ago)
Attachments
Milestone
Patch

History
05/01/2008 Chuck Hagenbuch Comment #2
State ⇒ Resolved
Taken from Ben Klang
Taken from Michael Rubinsky
Reply to this comment
Fixed by the latest set of commits to kronolith/lib/api.php, the latest of which is this one:
http://lists.horde.org/archives/cvs/Week-of-Mon-20080428/077927.html
04/25/2008 Chuck Hagenbuch State ⇒ Assigned
 
04/25/2008 Chuck Hagenbuch Assigned to Michael Rubinsky
Assigned to Chuck Hagenbuch
Assigned to Ben Klang
 
04/24/2008 Michael Rubinsky Comment #1
Patch ⇒
Milestone ⇒
Queue ⇒ Kronolith
Summary ⇒ webdav delete issues
Type ⇒ Bug
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Reply to this comment
Using webdav to delete calendars / events from kronolith does not currently work.

1st issue is for the default calendar (named as the user name) we only see a single .ics file like so:
rpc.php/kronolith/mrubinsk/mrubinsk.ics

Nowhere can I find individual event files...and even if it's what I wanted to do, it's impossible to delete the entire calendar, as the api method assumes it's a single event.

Trying to delete an event in another calendar:
kronolith/mrubinsk/xxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxx.ics  gives an error because of the way the path parsing works in _path_delete, it assumes it's an event in "mrubinsk" calendar, not in mrubinsk/xxxxxxxxxxxxxxxxx

I'll keep digging, but I'm not hopeful as I'm not very familiar with webdav  or what the Right Thing (tm) to do is with the path names.