error handling when attempting to save MARC record with invalid tag could be friendlier

Bug #1402820 reported by Galen Charlton on 2014-12-15
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

When attempting to save a bib record that contains an invalid tag number (e.g., "65="), the Evergreen staff client displays an error message like this:

Error creating MARC record.

The attempt to query to the DB failed

The error originates from a data validity check in MARC::Record as invoked by one of the database triggers invoked when a row is inserted into biblio.record_entry. The check itself is fine, but the way that the error is presented to the user is less than ideal:

- the MARC editor doesn't highlight the offending tag number
- the error message doesn't make it clear that the problem has to do with the user input

Potential ways to improve this:

- do a bit more client-side validation
- pass a bit more information up the line

Evergreen master

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers