-
Notifications
You must be signed in to change notification settings - Fork 184
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
/meta
endpoint returns inconsistent file paths
#8224
Comments
/meta
endpoint returns inconsistent file names/meta
endpoint returns inconsistent file paths
UPDATE:
|
To be aligned with personal Space project Spaces and oC10 @micbar could this be done? |
Here is a comparison of responses from the
So, we can see that the problem is in files located directly in root folder in Shares space in oCIS accounts. In the rest of the cases, the |
Release Blocker |
Fixed with the merge of #8278 |
Related to:
/meta
endpoint is returning a 500 for shares #8033Describe the bug
When I ask the
/meta
endpoint for a file in the root folder in my personal space (or any project space), the response contains something like:But when I ask this endpoint for a shared file with me, that is, a file in the root folder of my shares space, the response contains something like:
There is a slight but important difference: the first one has a slash (
/
) indicating it is in the root folder of the corresponding space, but the second one doesn't. I don't know if it is a bug or it is intended, but if it's going to be changed in the future would be good to know now to avoid crashes in the clients, since it implies a change in some algorithms (at least in the Android app).Steps to reproduce
Check #8033 (comment).
Expected behavior
The response is consistent with other files requested and returns the
oc:meta-path-for-user
property as a path located from the root folder of the shares space:Actual behavior
The
oc:meta-path-for-user
property returns just the name of the file and not the slash (/
) before, that indicates it is located in the root folder of the shares space:Setup
I'm using
ocis-traefik.latest
, redirected from https://ocis.owncloud.works:Additional context
As I stated before, I don't really know if this is a bug or not, but would be good to clarify because it could be a blocker for some issues in the different clients.
The text was updated successfully, but these errors were encountered: