rdmo icon indicating copy to clipboard operation
rdmo copied to clipboard

Uploading an empty file crashes RDMO

Open jochenklar opened this issue 1 year ago • 1 comments

Description / Beschreibung

Uploading an empty file crashes RDMO and you don't even get a response. Not sure why.

Steps to reproduce / Schritte zum Reproduzieren

  1. Go to /projects/
  2. Click on 'Select file' (under "Import from file")
  3. Select an empty file
  4. "This site can’t be reached"

Context / Kontext

Chromium and Firefox on Debian 11

jochenklar avatar Oct 16 '23 11:10 jochenklar

can not reproduce this, I only get this:

Import error Files of this type cannot be imported.

MyPyDavid avatar Oct 26 '23 15:10 MyPyDavid

The current dev-2.2.0 with the new projects overview does not crash for when import fails. It just does not show anything about the failure, the request returns a 400.

Is this issue resolved like this or you wanna add some error handling on the import at /projects?

MyPyDavid avatar Jul 08 '24 13:07 MyPyDavid

I think/hope it's resolved :smile:

jochenklar avatar Jul 11 '24 13:07 jochenklar