Closed VargaJoe closed 3 years ago
I think this is not the case anymore.
Current behavior: a new file is created every time I upload the same document. Is this correct? The Upload
action is sent with overwrite: false
.
@herflis
@VargaJoe I cannot reproduce this issue either, because of the overwrite: false mentioned by @tusmester. Maybe it is an issue with the file itself (may not be fully uploaded or it became corrupt, etc) Can you please share the file that caused this issue?
I've tested multiple times:
Can be reproduce with netcore test.
I can reproduce this issue as well.
steps:
The blob is not finalized after the last byte is uploaded. Therefore the currently uploaded blob stays in the "staged" state that causes this error: Cannot serve a binary field during uploading any stream.
. There is explicit action(s) that removes the uploaded blob from this state.
🐜 Bug Report
Upload a file already in the repository throws error
📦 Package / Application
admin-ui
📃 Version
latest
🐜 Describe the bug
Tried to upload a file to overwrite previous, but upload fails.
👉 Steps To Reproduce
😯 Current behavior
Upload failed. (one of the upload request says on the network tab: Cannot serve a binary field during uploading any stream.)
🤔 Expected behavior
upload successfully and the file is overwritten
🌍 Your environment (for apps / examples)