-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
Issue: Bug πAdded to issues relating to a critical severity bugs.Added to issues relating to a critical severity bugs.
Description
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
Metadata
Metadata
Assignees
Labels
Issue: Bug πAdded to issues relating to a critical severity bugs.Added to issues relating to a critical severity bugs.