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

[Sharing-NG] multiple mount request for items is allowed #8735

Closed
S-Panta opened this issue Mar 26, 2024 · 2 comments
Closed

[Sharing-NG] multiple mount request for items is allowed #8735

S-Panta opened this issue Mar 26, 2024 · 2 comments
Labels

Comments

@S-Panta
Copy link
Contributor

S-Panta commented Mar 26, 2024

Describe the bug

Once an item is mounted via API, it retuns 201 status code as specified in swagger with body content of drive item. But, hitting API a second time, it still returns 201 status code but nothing get returned in body

Steps to reproduce

1.Login to ocis as admin
2.create a folder test and share to einstein
3. click disable sync.
4. Send API request to mount resource

curl -X POST 'https://host.docker.internal:9200/graph/v1beta1/drives/{share-Space-Id}/root/children'  
-d '{
    "remoteItem": {
        "id":"'123"
    }
}' -ueinstein:relativity
  1. It will mount the item. Send API request again

Actual behavior

The status code is 201 with empty body

Same is true while unmounting resource.

@S-Panta
Copy link
Contributor Author

S-Panta commented Mar 26, 2024

@rhafer

@rhafer rhafer added the Priority:p3-medium Normal priority label Apr 3, 2024
@rhafer rhafer changed the title multiple mount request for items is allowed [Sharing-NG] multiple mount request for items is allowed Apr 3, 2024
@2403905
Copy link
Contributor

2403905 commented Apr 10, 2024

Fixed by PR the #8817

@2403905 2403905 closed this as completed Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

3 participants