[Koha-bugs] [Bug 29970] New: 500 Error when a record cannot be displayed

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 28 19:08:26 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29970

            Bug ID: 29970
           Summary: 500 Error when a record cannot be displayed
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Cataloging
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org
                CC: m.de.rooy at rijksmuseum.nl

When a record cannot be decoded Koha shows a 500 error to the user.

The code throws a Koha::Exceptions::Metadata::Invalid which is recorded in the
plack-error

We should catch the exception and provide a better message to the user.

Often, these records will load in the editor, we should provide a link to the
user so they can attempt to fix the record

Alternately, we should attempt to assume the record is encoded in a different
format (marc8) and attempt to convert uft-8

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list