Unable to upload same media after first failure
Environment info
- Browser, version, OS, platform: Brave
- Instance URL: N/A
- Frontend version (see settings -> about): ed10af15
- Backend version (see settings -> about): N/A
- Browser extensions (ublock, rikaichamp etc): N/A
- Known instance/user customizations (i.e. pleromafe mods/forks, instance styles etc): N/A
Bug description & reproduction steps
Uploading same media after failing first (due to a timeout or instance crashing) isn't possible. The file won't upload and and won't show up in the file list for posts.
Steps to reproduce:
- Start local FE and BE
- Log in
- Completely stop BE (Ctrl-C and Abort)
- Start BE back up
- Try to upload the same file again
Note: Stopping BE mid-upload also has the same effect.
Bug seriousness
- How annoying it is: A lot on unreliable connections
- How often does it happen: Always
- How many people does it affect: Dunno
- Is there a workaround for it: Uploading a different file and then uploading the first one; reloading FE; in the case of replies, saving them as draft and continuing composing again
This issue was previously reported and lost in the GitLab DB rollback.