[Koha-bugs] [Bug 34029] New: Import breaks on too long publishercode

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 16 11:51:18 CEST 2023


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

            Bug ID: 34029
           Summary: Import breaks on too long publishercode
 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: m.de.rooy at rijksmuseum.nl
        QA Contact: testopia at bugs.koha-community.org
                CC: m.de.rooy at rijksmuseum.nl

DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::mysql::st
execute failed: Data too long for column 'publishercode' at row 1 at
/usr/share/koha/Koha/Object.pm line 170

DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::mysql::st
execute failed: Data too long for column 'publishercode' at row 1 at
/usr/share/koha/Koha/Object.pm line 170

Use of uninitialized value $record_number in concatenation (.) or string at
/usr/share/koha/C4/Biblio.pm line 2431.
C4::Biblio::ModZebra(): DBI Exception: DBD::mysql::st execute failed: Column
'biblio_auth_number' cannot be null at
/usr/share/koha/Koha/SearchEngine/Zebra/Indexer.pm line 61
ModZebra( $record_number, $op, $server );

Whats happening here?
Two records have a too long publishercode.
Two undef's (from AddBiblio) are pushed to array @biblio_ids.
Indexing crashes after the import.

-- 
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