[Koha-bugs] [Bug 23425] New: Search explodes with "invalid data, cannot decode object"

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Aug 4 17:32:45 CEST 2019


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

            Bug ID: 23425
           Summary: Search explodes with "invalid data, cannot decode
                    object"
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Searching
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: jonathan.druart at bugs.koha-community.org
        QA Contact: testopia at bugs.koha-community.org
        Depends on: 22144

If the MARCXML data is wrong for some reasons and so MARC::Record::new_from_xml
fails, a search will explodes with "invalid data, cannot decode object"

We should:
- Understand why the data is wrong
- Provide a maintenance script to catch problematic data
- Skip the record instead of exploding (or maybe not, it will hide a data
problem)

It has been highlighted by bug 22144, was silently failing before those
patches.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22144
[Bug 22144] Add method metadata() to Koha::Biblio
-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list