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.