ox-it / ords

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

Error message when trying to delete records which are referenced elsewhere in a database has got less helpful #700

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to delete a record which is referenced by another table in the database. 
2. Note that the error message you get when you do this isn't very helpful - 
something like 'Unable to delete the record. The error detected was: null'
3. Note that a few months ago (certainly at the point when the original version 
of the documentation was written) the error message had a bit more content to 
it - something like the one visible in the attached screenshot. It was rather 
cryptic, but did at least give some useful information - namely that the record 
was still being referenced by another table.

What is the expected output? What do you see instead?
This seems to be part of a wider pattern within the ORDS, where error messages 
are uninformative. Telling users that 'The error detected was: null' doesn't 
help them know how to fix the problem.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by meriel.p...@gmail.com on 29 Jul 2015 at 6:10

Attachments: