[Koha-bugs] [Bug 27245] bulkmarcimport.pl error 'Already in a transaction'
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Dec 21 17:00:14 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27245
Victor Grousset/tuxayo <victor at tuxayo.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |victor at tuxayo.net
--- Comment #3 from Victor Grousset/tuxayo <victor at tuxayo.net> ---
Without the patch I'm getting «Already in a transaction» even with a
(supposedly) valid MARCXML file with 120 records. I just exported the first 120
records of the sample data in XML.
With the patch, with valid or invalid data, it's just importing one record:
kohadev-koha at kohadevbox:/kohadevbox/koha$
misc/migration_tools/bulkmarcimport.pl -commit 10 -file 120-records.xml
.
1 MARC records done in 0.0640840530395508 seconds
kohadev-koha at kohadevbox:/kohadevbox/koha$
misc/migration_tools/bulkmarcimport.pl -commit 10 -file
120-records-one-invalid.xml
.
1 MARC records done in 0.0556449890136719 seconds
Maybe I'm missing a param from bulkmarcimport.pl? (-b doesn't help)
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list