nextcloud / groupfolders

πŸ“πŸ‘©β€πŸ‘©β€πŸ‘§β€πŸ‘¦ Admin-configured folders shared by everyone in a group. https://github.com/nextcloud-releases/groupfolders

Home Page:https://apps.nextcloud.com/apps/groupfolders

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Groupfolder information gets lost when folder is trashed

MaximeMaW opened this issue Β· comments

Steps to reproduce

  1. Delete a folder from a groupfolder
  2. Use a webdav call to list groupfolder-specific information
curl "{NC_URL}/remote.php/dav/trashbin/{NC_USER}/trash/" \
--user "{NC_USER}:{NC_PASS}" \
  -H 'Content-Type: application/xml; charset=UTF-8' \
  -H 'Depth: 1' \
  -X PROPFIND \
  --data-binary '<d:propfind xmlns:d="DAV:" xmlns:nc="http://nextcloud.org/ns"> \
    <d:prop> \
        <nc:trashbin-filename /> \
        <nc:trashbin-original-location /> \
        <nc:trashbin-deletion-time /> \
        <nc:group-folder-id /> \
       <nc:acl-list /> \
        <d:owner-id /> \
        <d:getcontentlength /> \
        <d:getlastmodified/> \
        <d:resourcetype/> \
    </d:prop> \
</d:propfind>' > {list_of_files}

Expected behaviour

The <nc:group-folder-id /> and <nc:acl-list /> properties are returned and contain accurate information.

Actual behaviour

The <nc:group-folder-id /> and <nc:acl-list /> properties are not returned.

Server configuration

Operating system:
Debian 12

**Web server:**nginx

Database:
mariadb

PHP version:
PHP-FPM8.2

Nextcloud version: (see Nextcloud admin page)
27.1.7

Group folders version:
15.3.5

Updated from an older Nextcloud/ownCloud or fresh install:
Fresh

Where did you install Nextcloud from:
tar.gz

Are you using external storage, if yes which one: local/s3/smb/sftp/...
S3

Are you using encryption: yes/no
No

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/Saml/...
No

Client configuration

not relevant I think

Logs

Nothing significant: nginx log sees the request, Nextcloud.log does not log anything.