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

Fridolin Somers <fridolin.som...@biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #114521|0                           |1
        is obsolete|                            |

--- Comment #5 from Fridolin Somers <fridolin.som...@biblibre.com> ---
Created attachment 114750
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=114750&action=edit
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:
Export more than 100 records
Use bulkmarcimport (with -commit=10) to import them
Modify a record to make the import fail (for instance having a too long
lccn)
Use bulkmarcimport (with -commit=10) to import them
Notice that the import stops but that the imported record are imported
(a part from the last batch of 10)

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

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to