Skip Menu |

This queue is for tickets about the HTTP-DAV CPAN distribution.

Report information
The Basics
Id: 31014
Status: resolved
Worked: 30 min
Priority: 0/
Queue: HTTP-DAV

People
Owner: OPERA [...] cpan.org
Requestors: simonw [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Problems using
I've been using HTTP::DAV with the Apple CalDAV server http://trac.calendarserver.org/projects/calendarserver but I've hit two problems. First - when I try and use open() with a directory it fails saying "You can only open a collection (directory)". Disabling the check for is_collection means things work fine (or, at least, appear to). I've tried tracking this down and it appears to stem from the fact that no properties are ever retrieved. I can work round this by using new_resource() and operating on that. This works for get() and delete() but seems to fail for put() returning a 403 Forbidden. Upgrading LWP to version 5.808 solved the permissions problem but not the collection problem. Otherwise I found this to be an incredibly cool module and it's made implementing Cal::DAV trivial. My current code is here https://svn.unixbeard.net/simon/Cal-DAV/ You can test it using perl -Ilib bin/caldav Thanks, Simon
Subject: Re: [rt.cpan.org #31014] Problems using
Date: Wed, 28 Nov 2007 19:45:10 +1100
To: bug-HTTP-DAV [...] rt.cpan.org
From: pcollins [...] cpan.org
Hi Simon, That's really cool thanks. I've been promising to put in the time to get the module cutover to use XML::SAX so that it is a lot faster and more resilient. I haven't gotten around to doing that yet :) I'm really glad to see you do something useful with it. I know others have used it for all kinds of things including backing up their exchange email. I don't expect much but the module definitely needs a helping hand if you wanted to get involved. I think it's usage would go up if it had an update (hasnt' been updated for several years). cheers, Patrick. On 28/11/2007, SIMONW via RT <bug-HTTP-DAV@rt.cpan.org> wrote: Show quoted text
> > > Tue Nov 27 15:10:55 2007: Request 31014 was acted upon. > Transaction: Ticket created by SIMONW > Queue: HTTP-DAV > Subject: Problems using > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: SIMONW@cpan.org > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=31014 > > > > I've been using HTTP::DAV with the Apple CalDAV server > > http://trac.calendarserver.org/projects/calendarserver > > but I've hit two problems. > > First - when I try and use open() with a directory it fails saying "You > can only open a collection (directory)". Disabling the check for > is_collection means things work fine (or, at least, appear to). > > I've tried tracking this down and it appears to stem from the fact that > no properties are ever retrieved. > > I can work round this by using new_resource() and operating on that. > This works for get() and delete() but seems to fail for put() returning > a 403 Forbidden. Upgrading LWP to version 5.808 solved the permissions > problem but not the collection problem. > > > Otherwise I found this to be an incredibly cool module and it's made > implementing Cal::DAV trivial. > > My current code is here > > https://svn.unixbeard.net/simon/Cal-DAV/ > > You can test it using perl -Ilib bin/caldav > > Thanks, > > Simon > > >
I think this problem can be linked to the propfind() bug with the - depth argument which was fixed in v0.36. If there's still someone at the other end, please try your code with v0.37. If this is still a bug, please scream and shout. Otherwise, this is assumed to be fixed.