I’m building my own document so it does not fail (I now do same for search, which works absolutely brilliant).
The issue is that I only get HREF back when using REPORT, and the statusMap seems empty... On 7 March 2017 at 07:46:18, Julian Reschke ([email protected]) wrote: On 2017-03-06 22:04, Mario Danic wrote: > Sorry, but it looks like I’ll have many questions over the coming days… > > curl -u username:pass -X REPORT > http://xyz/nextcloud/remote.php/dav/files/mario/ --data '<?xml version="1.0" > encoding="UTF-8"?><oc:filter-files > xmlns:oc="http://owncloud.org/ns"><oc:filter-rules><oc:favorite>1</oc:favorite></oc:filter-rules><D:prop > xmlns:D="DAV:"><D:resourcetype/><favorite > xmlns="http://owncloud.org/ns"/><D:getlastmodified/><size > xmlns="http://owncloud.org/ns"/><D:creationdate/><id > xmlns="http://owncloud.org/ns"/><D:getcontentlength/><D:displayname/><D:quota-available-bytes/><D:getetag/><permissions > > xmlns="http://owncloud.org/ns"/><D:quota-used-bytes/><D:getcontenttype/></D:prop></oc:filter-files>’ > > > This returns all properties properly. This query was extracted from what I’ve > written in Java using Jackrabbit Webdav. > > Unfortunately when using Jackrabbit Webdav, I get only HREF, and all > properties are missing. > > Any ideas? > > Cheers, > Mario Unless I'm missing something, you're using a REPORT specific to owncloud (oc:filter-rules). It's not implemented in Jackrabbit by default, so in theory it should fail with a 4xx response. Best regards, Julian
