-
Notifications
You must be signed in to change notification settings - Fork 188
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 is returning a 500 for shares
#8033
Comments
Clients send the following request (by curl), using the space id from shares
Response is |
Clarification about the scenario to reproduce (not real life scenario)
Response is
it should return the requested |
Why do you have to look up the path at all? A stat to I know this wall not allow you to show the full path to the resource, eg. as breadcrumbs, but it would allow showing a In any case, I would like to understand the neccessity of the path. Fetching it is time consuming and in the graph api we might be able to return it as part of the parent property of driveItems. So, I'm just trying to learn. Aside from the above the 500 is a bug, but we can only fix it by returning a path relative to a space root, since absolute paths ar a thing of the past. |
Yes we are, in fact we do already navigate correctly when we receive the response for a file that is not in the personal space in an oCIS account.
Well, firstly, we need it for oC10 as well, where we are using the
Yes, let's say we need the "absolute path" but just within the space. But remember this is just happening with the files inside the Shares space, so it wouldn't be a problem since the Shares space has a constant ID (https://github.com/owncloud/web/blob/2ab7e6da432cb344cd86f3451eea1678461c5c90/packages/web-client/src/helpers/space/types.ts#L11). I hope I explained properly, just ask me if you have any other question 👍. |
|
update has landed in ocis. |
Describe the bug
I was trying to test deep links for shares in the Android app and I just realised that by using the theoretical correct deep link (this is, the private link provided by the propfind call but replacing
https://
byowncloud://
), the endpoint is returning a 500 with an empty response.Steps to reproduce
https://
withowncloud://
)/meta
endpoint what comes after the/f/
in such link, that is the file ID/meta
endpoint will respond with a 500Expected behavior
The
/meta
response should include the correct information for the file requested.Actual behavior
The
/meta
response is a 500 error.Setup
I'm using
ocis-traefik.latest
, redirected from https://ocis.owncloud.works:Additional context
%21
instead of!
in the file ID, but that's not the case, the same 500 response is received in both cases.The text was updated successfully, but these errors were encountered: