[Koha-bugs] [Bug 27245] New: bulkmarcimport.pl error 'Already in a transaction'

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Dec 16 10:17:24 CET 2020


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

            Bug ID: 27245
           Summary: bulkmarcimport.pl error 'Already in a transaction'
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Command-line Utilities
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: fridolin.somers at biblibre.com
        QA Contact: testopia at bugs.koha-community.org
                CC: robin at catalyst.net.nz

When using script to import records misc/migration_tools/bulkmarcimport.pl, 
I get the error :
.DBD::mysql::db begin_work failed: Already in a transaction at
/usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1588, <GEN45> line 1.

I thinks it is because of transaction in the script :
$dbh->{AutoCommit} = 0;

And C4::Biblio::AddBiblio launches a transation :
        $schema->txn_do(sub {

Records are imported well but its a scary error :/

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