Skip to content
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

[stable] enabling sync of share gives empty filename as response #8961

Open
S-Panta opened this issue Apr 25, 2024 · 1 comment
Open

[stable] enabling sync of share gives empty filename as response #8961

S-Panta opened this issue Apr 25, 2024 · 1 comment
Assignees
Labels

Comments

@S-Panta
Copy link
Contributor

S-Panta commented Apr 25, 2024

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

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.

@saw-jan
Copy link
Member

saw-jan commented Apr 25, 2024

@rhafer any chance that this will get fixed in stable-5 branch? If not then maybe we can close the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Qualification
Development

No branches or pull requests

3 participants