sabre-io / dav

sabre/dav is a CalDAV, CardDAV and WebDAV framework for PHP
http://sabre.io
BSD 3-Clause "New" or "Revised" License
1.51k stars 345 forks source link

issue with allprop Propfind request #110

Closed evert closed 11 years ago

evert commented 11 years ago

Original author: rob....@gmail.com (May 09, 2010 04:20:50)

Its possible there is an issue with the allprop propfind request not returning stored properties. When the client issues an allprop request on a tree, it looks to be that only the getlstmodified, getcontentlength, resourcetype, and getetag values are returned.

Original issue: http://code.google.com/p/sabredav/issues/detail?id=48

evert commented 11 years ago

From evert...@gmail.com on May 09, 2010 07:03:49: The problem with 'allprop' is that it's not actually all properties, or: it doesn't have to be all properties as per the spec.

There's only been a few clients that use allprop (netdrive, IE I think), so I decided on only returning a few common ones.

So.. are you writing your won File/Directory classes? I think (but not sure) you can just return additional properties from ->getProperties(). The '$properties' argument will be empty when allprops is requested.

So.. where specifically do these properties come from?

evert commented 11 years ago

From evert...@gmail.com on May 09, 2010 08:41:30: This was a problem, but now fixed. Will be part of 1.2.0 release.