owncloud / owncloud/ocis

Missing `shareid` on response of a PROPFIND on the sharejail root

Open
#8,510 3 comments 0 reactions 0 assignees View on GitHub
Type:Bug
Dominant language
Go
Stars
2.1k
Forks
274
Avg merge
2d 1h
Merged PRs (30d)
103

Description

## Describe the bug
response for propfind on the sharejail root doesn't contain value on ``

## Steps to reproduce
1. user `admin` and `einstein` should exist
2. user `einstein` share folder `einstein` to user `admin`
3. user `admin` send propfind API request on sharejail root
```
curl -XPROPFIND https://localhost:9200/remote.php/dav/spaces/a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668 -uadmin:admin

---------------------------------------Response---------------------------------------------------------------


/remote.php/dav/spaces/a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668/


a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668!a0ca6a90-a365-4782-871e-d44447bbc668
a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668!a0ca6a90-a365-4782-871e-d44447bbc668
a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668

"33b2b51653aff4d0e52224b08943dda4"




0
Thu, 22 Feb 2024 04:23:04 GMT
0

HTTP/1.1 200 OK





HTTP/1.1 404 Not Found



/remote.php/dav/spaces/a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668/einstein/


a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668!e1d3a478-a29a-4a3a-a7a2-17b714bf15da:4c510ada-c86b-4815-8820-42cdf82c3d51:7f68ff35-7894-4052-b1f6-5b3cc77e762c
a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668!e1d3a478-a29a-4a3a-a7a2-17b714bf15da:4c510ada-c86b-4815-8820-42cdf82c3d51:7f68ff35-7894-4052-b1f6-5b3cc77e762c
a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668
e1d3a478-a29a-4a3a-a7a2-17b714bf15da$4c510ada-c86b-4815-8820-42cdf82c3d51!4c510ada-c86b-4815-8820-42cdf82c3d51

einstein
einstein
"33b2b51653aff4d0e52224b08943dda4"
SR



0
Thu, 22 Feb 2024 04:23:04 GMT

0

HTTP/1.1 200 OK






HTTP/1.1 404 Not Found

```

## Expected behavior
should contain shareid

## Actual behavior
empty ` `

## Setup
Please describe how you started the server and provide a list of relevant environment variables or configuration files.

```console
ownCloud Infinite Scale
Edition Community
Version 5.1.0-prealpha+2a300190cbc
Web client version 8.0.0-rc.5
```

## Additional context
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.