Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Groupfolder information gets lost when folder is trashed #2924

Open
MaximeMaW opened this issue Apr 14, 2024 · 0 comments
Open

Groupfolder information gets lost when folder is trashed #2924

MaximeMaW opened this issue Apr 14, 2024 · 0 comments
Labels
0. Needs triage Issues that need to be triaged bug

Comments

@MaximeMaW
Copy link

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.

@MaximeMaW MaximeMaW added 0. Needs triage Issues that need to be triaged bug labels Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Issues that need to be triaged bug
Projects
None yet
Development

No branches or pull requests

1 participant