From 86d0837bf4c23cbef62faef3e1d6de74581aee0b Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Wed, 1 Apr 2015 11:13:05 -0400 Subject: [PATCH] [SIGNED-OFF] 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 --- tools/stage-marc-import.pl | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) 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.7.2.5