Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.0RC8

Request #15121 Allow nested properties in DAV responses
Submitted: 2008-11-22 01:55 UTC
From: bklang Assigned:
Status: No Feedback Package: HTTP_WebDAV_Server (version CVS)
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  


 [2008-11-22 01:55 UTC] bklang (Ben Klang)
Description: ------------ While working on a CalDAV application utilizing the HTTP_WebDAV_Server library I needed to be able to return a DAV property that contained another property. Example: <C:calendar-home-set xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav"> <D:href>http://cal.example.com/home/bernard/calendars/</D:href> </C:calendar-home-set> To achieve this I wanted to use the mkprop() method, supplying the value of the new property as the result of another mkprop() call: $props[] = $this->mkprop($xmlns, $propname, $this->mkprop('href', $url)); To enable this kind of functionality I needed to modify the HTTP_WebDAV_Server#http_PROPFIND() method to allow for nested properties in DAV responses. Attached to this ticket is a patch that implements that functionality.

Comments

 [2010-02-22 12:25 UTC] doconnor (Daniel O'Connor)
-Status: Open +Status: Feedback
Thank you for taking the time to report a problem with the package. This problem may have been already fixed by a previous change that is in the CVS of the package. Please log into CVS with: cvs -d :pserver:cvsread@cvs.php.net:/repository login and check out the CVS repository of this package and upgrade cvs -d :pserver:cvsread@cvs.php.net:/repository co pear/HTTP_WebDAV_Server pear upgrade pear/HTTP_WebDAV_Server/package2.xml or pear upgrade pear/HTTP_WebDAV_Server/package.xml If you are able to reproduce the bug with the latest CVS, please change the status back to "Open". Again, thank you for your continued support of PEAR. Can you re-do this patch against trunk?
 [2012-01-27 19:03 UTC] doconnor (Daniel O'Connor)
-Status: Feedback +Status: No Feedback