Skip to content

Item List from ownCloud does not get Collection=true for folders #25

Description

@Tallmaris

Hi,
This is the response from the PROPFIND call to ownCloud:

 <d:response>
  <d:href>/remote.php/webdav/xxxxxxxxxxxxxxxxxxx/</d:href>
  <d:propstat>
   <d:prop>
    <d:getlastmodified>Fri, 16 Sep 2016 08:00:22 GMT</d:getlastmodified>
    <d:resourcetype>
     <d:collection/>
    </d:resourcetype>
    <d:quota-used-bytes>24569936</d:quota-used-bytes>
    <d:quota-available-bytes>-3</d:quota-available-bytes>
    <d:getetag>&quot;57dba696c1d62&quot;</d:getetag>
   </d:prop>
   <d:status>HTTP/1.1 200 OK</d:status>
  </d:propstat>
 </d:response>

Even if the "resourcetype" is flagged as "collection", the resulting Item has IsCollection set to false.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions