ox-it / ords

Automatically exported from code.google.com/p/ords
0 stars 0 forks source link

Uploading a mangled sql dump to ORDS results in a 'congratulations' email, even though the upload was a failure #748

Closed jajwilson closed 8 years ago

jajwilson commented 8 years ago
  1. Try to upload a badly mangled sql dump to ORDS
  2. Wait for a bit
  3. Receive an email saying 'Congratulations! Your database (surgeonspg.sql) has been successfully imported into ORDS. You can now log in to ORDS and start using it'.
  4. Find that your newly uploaded database now unreasonably has no tables in it.
  5. Feel frustrated.

Instead the ORDS should recognize that a db that has uploaded without containing any tables is not a healthy database and give a 'Sorry, the ORDS could not upload your database x. Please contact ords@it.ox.ac.uk to diagnose the problem.' message.

thestoat commented 8 years ago

Should be fixed. If not, please add the problem file you are using.

jajwilson commented 8 years ago

Yes, that works, or rather it doesn't work but does so correctly.