Repository navigation
Closed
Description
Steps:
- Create a file "propfind.xml" with the following contents:
<?xml version="1.0"?>
<d:propfind xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns">
<d:prop>
<d:resourcetype/>
<d:getlastmodified/>
<d:getcontentlength/>
<d:getetag/>
<oc:id/>
<oc:downloadURL/>
<oc:dDC/>
<oc:permissions/>
<oc:size />
<oc:share-types />
</d:prop>
</d:propfind>- Propfind on the root of the new DAV endpoint:
curl -X PROPFIND -H "Content-Type: text/xml" --data-binary "@propfind.xml" -H "Depth: 0" http://admin:admin@localhost/owncloud/remote.php/dav/files/admin/
Expected result
Properties returned like for the old one:
% curl -X PROPFIND -H "Content-Type: text/xml" --data-binary "@propfind.xml" -H "Depth: 0" http://admin:admin@localhost/owncloud/remote.php/webdav/
<?xml version="1.0"?>
<d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:oc="http://owncloud.org/ns">
<d:response>
<d:href>/owncloud/remote.php/webdav/</d:href>
<d:propstat>
<d:prop>
<d:resourcetype>
<d:collection/>
</d:resourcetype>
<d:getlastmodified>Thu, 08 Sep 2016 10:31:15 GMT</d:getlastmodified>
<d:getetag>"57d13df383420"</d:getetag>
<oc:id>00000002oc2d13a6a068</oc:id>
<oc:permissions>RDNVCK</oc:permissions>
<oc:size>225878212</oc:size>
<d:quota-used-bytes>225878212</d:quota-used-bytes>
<d:quota-available-bytes>-3</d:quota-available-bytes>
<oc:share-types/>
</d:prop>
<d:status>HTTP/1.1 200 OK</d:status>
</d:propstat>
<d:propstat>
<d:prop>
<d:getcontentlength/>
<oc:downloadURL/>
<oc:dDC/>
</d:prop>
<d:status>HTTP/1.1 404 Not Found</d:status>
</d:propstat>
</d:response>
</d:multistatus>
Actual result
Missing properties:
% curl -X PROPFIND -H "Content-Type: text/xml" --data-binary "@propfind.xml" -H "Depth: 0" http://admin:admin@localhost/owncloud/remote.php/dav/files/admin/
<?xml version="1.0"?>
<d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:cal="urn:ietf:params:xml:ns:caldav" xmlns:cs="http://calendarserver.org/ns/" xmlns:card="urn:ietf:params:xml:ns:carddav" xmlns:oc="http://owncloud.org/ns">
<d:response>
<d:href>/owncloud/remote.php/dav/files/admin/</d:href>
<d:propstat>
<d:prop>
<d:resourcetype>
<d:collection/>
</d:resourcetype>
<d:getlastmodified>Thu, 08 Sep 2016 10:31:15 GMT</d:getlastmodified>
</d:prop>
<d:status>HTTP/1.1 200 OK</d:status>
</d:propstat>
<d:propstat>
<d:prop>
<d:getcontentlength/>
<d:getetag/>
<oc:id/>
<oc:downloadURL/>
<oc:dDC/>
<oc:permissions/>
<oc:size/>
<d:quota-used-bytes/>
<d:quota-available-bytes/>
<oc:share-types/>
</d:prop>
<d:status>HTTP/1.1 404 Not Found</d:status>
</d:propstat>
</d:response>
</d:multistatus>
Versions
Observed on 9.2 prealpha/master, very likely to exist in 9.1 as well.
Blocks #25494 (switching web UI to new endpoint)
@DeepDiver1975 FYI
I'll have a look, hopefully just a matter of plugging the FilesPlugin
Activity
PVince81 commentedon Sep 8, 2016
Fix is here #26066
guruz commentedon Sep 8, 2016
What about
data-fingerprint?lock commentedon Aug 3, 2019
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.