Koha/misc/migration_tools
Jonathan Druart 4a90c0b647 Bug 27245: Replace AutoCommit=0 with txn_begin in bulkmarcimport.pl
To prevent
DBD::mysql::db begin_work failed: Already in a transaction at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1588, <GEN45> line 1.

Test plan:
1 - Export more than 100 records
2 - Use bulkmarcimport (with -commit=10) to import them
    perl misc/migration_tools/bulkmarcimport.pl -b -file testbmi.xml -v -m=MARCXML --commit=10
3 - Modify a record to make the import fail (for instance having a too long
lccn)
4 - Use bulkmarcimport (with -commit=10) to import them
    perl misc/migration_tools/bulkmarcimport.pl -b -file testbmi.xml -v -m=MARCXML --commit=10
5 - Notice that the import stops but that the imported record are imported (apart from the last batch of 10)

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-01-08 15:17:22 +01:00
..
22_to_30 Bug 21395: Fix QA errors 2020-06-29 12:37:02 +02:00
ifla Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
build_oai_sets.pl Bug 23696: take deleted biblios into account when building oai sets 2020-07-24 14:09:30 +02:00
buildCOUNTRY.pl Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
buildEDITORS.pl Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
buildLANG.pl Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
bulkmarcimport.pl Bug 27245: Replace AutoCommit=0 with txn_begin in bulkmarcimport.pl 2021-01-08 15:17:22 +01:00
checkNonIndexedBiblios.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
create_analytical_rel.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
fix_onloan.pl Bug 23463: Replace ModItem with Koha::Item->store 2020-03-23 09:26:30 +00:00
import_lexile.pl Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
koha-svc.pl
rebuild_zebra.pl Bug 23084: Replace grep {^$var$} with grep {$_ eq $var} 2020-02-17 10:44:45 +00:00
rebuild_zebra_sliced.sh Bug 13660: Exclude export phase and use existing exported MARCXML - rebuild_zebra_sliced.sh 2018-01-09 17:23:50 -03:00
remove_unused_authorities.pl Bug 26337: Pass skip_merge to DelAuthority when removing unsused authorities 2020-11-18 12:03:03 +01:00
switch_marc21_series_info.pl Bug 22470: Missing the table name on misc/migration_tools/switch_marc21_series_info.pl 2020-06-15 11:53:36 +02:00
upgradeitems.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00