Bug 18806: Fix batch revert
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 14 Jun 2017 18:53:18 +0000 (15:53 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 19 Jun 2017 18:34:34 +0000 (15:34 -0300)
commit3db0401366b8e099ab2046d68cf20a9f754e1eae
treea7cce1397ea9a639bd3ba6bd3554bfa958b16711
parent4dd9236c6ebdfff33abcf97b6ea254ed1e63ffbe
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>
tools/manage-marc-import.pl