ocis
ocis copied to clipboard
[stable] enabling sync of share gives empty filename as response
Describe the bug
Enabling sync of share using the new graph API works but the response has .
as it's filename for stable branch. In master, this bug has been fixed but fix pr has not been backported to stable which causes moodle-repository-ocis to evolve issues.
Reason to report this issue
-
moodle-repository_ocis minium requirement is
ocis-5.0
Steps to reproduce
1.user einstein
share resource test.txt
with admin
.
2. admin disable sync of resource
3.admin send request to enable sync using graph API.
curl -X POST 'https://host.docker.internal:9200/graph/v1beta1/drives/{share-Space-Id}/root/children'
-d '{
"remoteItem": {
"id":"'remote-item-id"
}
}'
Expected behavior
"@client.synchronize": true,
"@UI.Hidden": false,
"eTag": "\"b3bd3355452b980042d3fc2f27bd2624\"",
"name": "test.txt",
Actual behavior
"@client.synchronize": true,
"@UI.Hidden": false,
"name": ".",
Setup
ocis 5.0.2
OCIS_XXX=somevalue
OCIS_YYY=somevalue
PROXY_XXX=somevalue
Additional context
Add any other context about the problem here.