Thanks for the details.

I still don't understand however why you expect Jackrabbit to know about a REPORT that seems to be specific to Owncloud.

What server are you testing with?

Best regards, Julian

On 2017-03-07 12:10, Mario Danic wrote:
This is the query I generate via Jackrabbit, and this works via curl.

<?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 is the way I do this:

ReportInfo reportInfo = new ReportInfo(FilesMultiGetReport.FILES_MULTI_GET, 
DavConstants.DEPTH_INFINITY, WebdavUtils.getAllPropSet());

/// assemble an Element, and do a setContentElement on reportInfo

query = new ReportMethod(WebdavEntry.NAMESPACE_OC, reportInfo);

Run the query.



I get the responses back, but unfortunately statusMap is empty (and it
shouldn’t be, because the server reports all properly, as evidenced by
Curl).

Appreciate the help btw.

On 7 March 2017 at 11:16:13, Julian Reschke ([email protected]
<mailto:[email protected]>) wrote:

On 2017-03-07 10:31, Mario Danic wrote:
> I’m building my own document so it does not fail (I now do same for search, 
which works absolutely brilliant).
> ...

What do you mean by "I'm building my own document"?

The key question is: where's the implementation of the report
"oc:filter-files"? It's certainly not in Jackrabbit...

Best regards, Julian

Reply via email to