aces / cbrain

CBRAIN is a flexible Ruby on Rails framework for accessing and processing of large data on high-performance computing infrastructures.
GNU General Public License v3.0
71 stars 42 forks source link

fix error message duplication for duplicate filename ( fixes #1309 ) #1331

Open MontrealSergiy opened 1 year ago

MontrealSergiy commented 1 year ago

Fixes confusing error messages when trying to upload a file that already exists shows bad error message

I did not investigate messages for any other errors.

https://github.com/aces/cbrain/issues/1309

prioux commented 1 year ago

I doesn't seem to work. I tried uploading twice the same file and the second time I still get the ugly 422 Unprocesseable Entity message.

prioux commented 1 year ago

Never mind, it works, my Firefox was still caching the old javascript.