From b64786a4081c1c01f4507db56295be4a634a7b03 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Wed, 1 Apr 2015 11:13:05 -0400 Subject: [PATCH] [PASSED QA] Bug 13938 - Staging MARC records for import fails It appears that bug 8970 has introduced a bug where a MARC file uploaded for staging fails to import *unless* a matching rule is selected. Test Plan: 1) Apply this patch 2) Stage and import a MARC record *without* choosing a matching rule 3) Note the staging works as expected Signed-off-by: Cindy Ames Signed-off-by: Kyle M Hall Signed-off-by: Katrin Fischer --- tools/stage-marc-import.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/stage-marc-import.pl b/tools/stage-marc-import.pl index 500e6cd..7207859 100755 --- a/tools/stage-marc-import.pl +++ b/tools/stage-marc-import.pl @@ -156,6 +156,8 @@ if ($completedJobID) { } else { $matcher_failed = 1; } + } else { + $dbh->commit(); } my $results = { -- 1.9.1