]> git.koha-community.org Git - koha.git/commit
Bug 18806: Fix batch revert
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 14 Jun 2017 18:53:18 +0000 (15:53 -0300)
committerKatrin Fischer <katrin.fischer.83@web.de>
Tue, 27 Jun 2017 22:04:05 +0000 (00:04 +0200)
commit0537ff3c863e8b62d175015c4446eea0856bc412
tree41ad3ea1bd9a2dd8f5f4dfcff2b742cf68620910
parenta0e9bc59db761200fbff00d659c4af4900364690
Bug 18806: Fix batch revert

Since bug 18242: When a biblio is deleted, a new transaction is created.
tools/manage-marc-import.pl use the AutoCommit flag, which does not
allow nested transaction.
AutoCommit must not be used.

Test plan:
Import a batch, then revert it.
The biblios must have been correctly deleted, they were not before this
patch

Signed-off-by: Lee Jamison <ldjamison@marywood.edu>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 3db0401366b8e099ab2046d68cf20a9f754e1eae)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit eafd2e7299e3db30d0d84d084fa5e49de60fa748)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
tools/manage-marc-import.pl