Closed felix-schwarz closed 12 months ago
Puzzle of the day: Find the error in this line https://github.com/cs3org/reva/blob/edge/internal/http/services/owncloud/ocdav/meta.go#L161 :smile:
I'll file a fix.
PR in https://github.com/cs3org/reva/pull/4341
Needs reva bump https://github.com/owncloud/ocis/pull/7727
Landed in master
Describe the bug
When sending a file ID to the meta endpoint, it returns an incomplete value for
<oc:spaceid>
.(Semi-related side node: the naming
<oc:spaceid>
doesn't match the naming asdrive
s used in other APIs. If<oc:spaceid>
has always returned an incomplete/unusable value, addressing this issue may also be an opportunity to rename the tag to<oc:driveid>
to bring its naming in line.)Steps to reproduce
Perform a
PROPFIND
on the meta endpoint using the File ID:Expected behavior
The returned
<oc:spaceid>
matches a drive returned by the drive list endpoint.Actual behavior
The returned
<oc:spaceid>
does not match a drive returned by the drive list endpoint:The drive/space ID returned here is different from what the drive list returned earlier for the personal space:
71135097-2849-442b-b3d8-7701539e8cf5
(returned by meta endpoint)71135097-2849-442b-b3d8-7701539e8cf5$e90424c7-1bdb-4512-9e05-cba6b6ffbb74
(returned by the drive list endpoint)Additional context
iOS app issue: https://github.com/owncloud/ios-app/issues/1295