nextcloud / nextcloud/groupfolders
Groupfolder information gets lost when folder is trashed
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 343
- Forks
- 106
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 34
Description
Steps to reproduce
- Delete a folder from a groupfolder
- 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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the WebDAV PROPFIND request against the trashbin after deleting a folder from a groupfolder, using the supplied curl example and checking the group-folder-id and acl-list properties. Trace the trashbin response handling in the Group Folders and Nextcloud integration; done means both properties are returned with accurate information.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100