You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
File upload with same name(in same directory) doesn't return conflict error
To Reproduce
Steps to reproduce the behavior:
Go to the app
Upload a file named xyz
Upload another file named xyz with different content
Doesn't return error and the file is not replaced either.
Expected behavior
Backend returns conflict error for the files.
Files upload is a batch operation and if there is conflict error for some files the upload returns all the entries for files and there status whether it got uploaded successfully or failed. UI needs to check the response.
The best way will be
Call check-upload API before uploading and inform user about the conflicting files to re- add files while uploading.
Check the response of the upload and inform about the failed files while uploading
The text was updated successfully, but these errors were encountered:
Describe the bug
File upload with same name(in same directory) doesn't return conflict error
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Backend returns conflict error for the files.
Files upload is a batch operation and if there is conflict error for some files the upload returns all the entries for files and there status whether it got uploaded successfully or failed. UI needs to check the response.
The best way will be
The text was updated successfully, but these errors were encountered: