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

Error 500 when user try to unlock file using fileid #7708

Closed
nabim777 opened this issue Nov 10, 2023 · 0 comments · Fixed by #7726
Closed

Error 500 when user try to unlock file using fileid #7708

nabim777 opened this issue Nov 10, 2023 · 0 comments · Fixed by #7726
Assignees
Labels
Interaction:Release-blocker Priority:p2-high Escalation, on top of current planning, release blocker Type:Bug

Comments

@nabim777
Copy link
Member

Describe the bug

When a user try to unlock the file, the user get 500 status code

Steps to reproduce

  1. As admin, upload a file file.txt
  2. As admin, lock the file file.txt using API
  3. As admin, unlock the file file.txt using curl command
curl -kv -XUNLOCK -uadmin:admin 'https://localhost:9200/remote.php/dav/spaces/<file-id>' -H 'Lock-Token: <file-lock-token>' | xmllint --format -

Expected behavior

status 204

Actual behavior

Got status 500

< HTTP/1.1 500 Internal Server Error
.
.
.
< X-Xss-Protection: 1; mode=block
< 
{ [187 bytes data]
100   187  100   187    0     0   3983      0 --:--:-- --:--:-- --:--:--  4065
* Connection #0 to host localhost left intact
<?xml version="1.0" encoding="UTF-8"?>
<d:error xmlns:d="DAV" xmlns:s="http://sabredav.org/ns">
  <s:exception/>
  <s:message>error: not found: no space found</s:message>
</d:error>

image

@micbar micbar added the Priority:p2-high Escalation, on top of current planning, release blocker label Nov 12, 2023
@micbar micbar moved this from Qualification to Prio 2 in Infinite Scale Team Board Nov 12, 2023
@2403905 2403905 self-assigned this Nov 14, 2023
This was referenced Nov 14, 2023
@2403905 2403905 moved this from Prio 2 to Refactor / Technical Debt in Infinite Scale Team Board Nov 14, 2023
@2403905 2403905 moved this from Refactor / Technical Debt to Done in Infinite Scale Team Board Nov 14, 2023
@2403905 2403905 moved this from Done to Needs Tests in Infinite Scale Team Board Nov 14, 2023
@github-project-automation github-project-automation bot moved this from Needs Tests to Done in Infinite Scale Team Board Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Interaction:Release-blocker Priority:p2-high Escalation, on top of current planning, release blocker Type:Bug
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants