[Bug 40326] New: $record->as_usmarc() throws fatal errors for bad leaders
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40326 Bug ID: 40326 Summary: $record->as_usmarc() throws fatal errors for bad leaders Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Searching - Elasticsearch Assignee: koha-bugs@lists.koha-community.org Reporter: dcook@prosentient.com.au QA Contact: testopia@bugs.koha-community.org If you have a bad leader in your MARCXML, trying to generate USMARC from it can itself throw a fatal error: my $usmarc_record = $record->as_usmarc(); substr outside of string at /usr/share/perl5/MARC/Record.pm line 570. Something went wrong rebuilding indexes for kohadev -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40326 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |38913 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38913 [Bug 38913] Elasticsearch indexing explodes with some oversized records with UTF-8 characters -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40326 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=38933 -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40326 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |dcook@prosentient.com.au |ity.org | -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40326 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|$record->as_usmarc() throws |MARC::Record throws fatal |fatal errors for bad |errors in many cases for |leaders |bad leaders --- Comment #1 from David Cook <dcook@prosentient.com.au> --- Renaming from '$record->as_usmarc() throws fatal errors for bad leaders' because there's actually a lot of places where MARC::Record will throw fatal errors. For example '$record->encoding()'. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org