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

Copying zero byte file returns 201 status code but is not successful #2868

Closed
pascalwengerter opened this issue Dec 10, 2021 · 1 comment · Fixed by cs3org/reva#2374
Closed
Assignees
Labels

Comments

@pascalwengerter
Copy link
Contributor

Steps to reproduce

Steps to reproduce the behavior:

  1. Go to https://ocis.ocis-web.latest.owncloud.works
  2. Create folder in root, upload zero byte file to root
  3. Try to copy zero byte file to folder

Expected behavior

Copy of zero byte file exists inside folder

Actual behavior

No file in copy target folder (yet the copy request has a status code of 201)

Note

This was discovered by an acceptance test in web. My workaround for the acceptance test suite was to upload a file with >0 byte content 🤷🏽 debatable whether we should test both scenarios, but at least discovered this bug...

@wkloucek
Copy link
Contributor

Will be fixed by cs3org/reva#2374

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

Successfully merging a pull request may close this issue.

3 participants