[Koha-bugs] [Bug 30739] New: Fatal errors during MARC import force status of "Importing" forever

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 12 06:02:21 CEST 2022


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

            Bug ID: 30739
           Summary: Fatal errors during MARC import force status of
                    "Importing" forever
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: MARC Bibliographic record staging/import
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: dcook at prosentient.com.au
        QA Contact: testopia at bugs.koha-community.org

We need to be careful when processing MARC imports. 

I was trying to import 1 MARC record with 1 item, and it kept getting stuck as
0% job progress and "Importing" status forever.

Thanks to Bug 30738, I saw this was due to the following error:
[2022/05/12 03:37:37] [WARN] DBIx::Class::Storage::DBI::_dbh_execute(): DBI
Exception: DBD::mysql::st execute failed: Data too long for column
'coded_location_qualifier' at row 1 at /kohadevbox/koha/Koha/Object.pm line 170
 main::__ANON__ /kohadevbox/koha/tools/manage-marc-import.pl (339)

--

Either we need to fail the whole import or we need to catch the error and just
report on it at the end.

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