Propfind <nc:sharees/> with shared file to Room
Open
Nobody has claimed this yet.
0. Needs triage
26-feedback
bug
feature: dav
feature: sharing
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
- share a file to a Room
- do
curl --request PROPFIND \
--url http://localhost/nc/remote.php/webdav/allTypes/share/ \
--header 'authorization: Basic dG9iaTpTSGZ6ZC04YkQyNC1xOUtSaS1zU2NRay03ZHh4eA==' \
--header 'content-type: application/xml' \
--data '<?xml version="1.0"?>
<d:propfind xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns" xmlns:nc="http://nextcloud.org/ns">
<d:prop>
<oc:fileid />
<oc:share-types />
<nc:sharees/>
</d:prop>
</d:propfind>'
See this
<nc:sharees>
<nc:sharee>
<nc:id>qehz3qsu</nc:id>
<nc:display-name/>
<nc:type>10</nc:type>
</nc:sharee>
</nc:sharees>
--> display-name is missing and thus Android cannot show correct avatar (created via first char)
@nickvergessen @nextcloud/server-triage
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 PROPFIND request against a file shared to a Room and inspect the nc:sharees response. Trace the WebDAV handling for the nc:sharees property; done means each returned sharee includes a display-name so Android can show the correct avatar.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100