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

Uploading same empty file multiple times behaves differently #7944

Closed
SagarGi opened this issue Nov 10, 2022 · 0 comments · Fixed by #8055
Closed

Uploading same empty file multiple times behaves differently #7944

SagarGi opened this issue Nov 10, 2022 · 0 comments · Fixed by #8055
Assignees

Comments

@SagarGi
Copy link
Member

SagarGi commented Nov 10, 2022

Description

When we upload empty file (.txt without any content) and replace with it, the first time it gives faild to upload but when we again upload it for the next time then it ends with preparing to upload infinitely.

Steps to Reproduce

  1. admin creates an empty file file.txt
  2. admin uploads empty file (from local system) file.txt and replace it (upload file.txt fails)
  3. again admin upload the same empty file (from local system) file.txt

Actual behaviour

The upload dialog or modal keeps ends with preparing to upload and we cant even close it without a refresh.

Screenshots:

When admin upload the empty file for the 1st time:

Screenshot from 2022-11-10 16-24-04

When admin upload the empty file for the 2nd time:

Screenshot from 2022-11-10 16-24-27

Note: With API we can only uplaod or update the content of the same file. May be its UI which may be behaving differently.

Environment

OCIS : latest docker image

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

Successfully merging a pull request may close this issue.

2 participants