From c77c03a3ae139020c2effdbfbaaeda21af84bfd2 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Tue, 27 Jun 2023 13:26:10 +0000 Subject: [PATCH] Bug 33972: Remove settings of batch status to importing This change was done in a transaction - it would either be set as imported on success, or rolled back to staged on failure There is no need for the intermediate status which is never committed Signed-off-by: Nick Clemens Signed-off-by: Marcel de Rooy Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 52917c63ab10a165ddf82fd405f387f11921a299) Signed-off-by: Martin Renvoize --- C4/ImportBatch.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/C4/ImportBatch.pm b/C4/ImportBatch.pm index 0d6b9fbc1a..b950d193bd 100644 --- a/C4/ImportBatch.pm +++ b/C4/ImportBatch.pm @@ -549,7 +549,6 @@ sub BatchCommitRecords { my $num_items_errored = 0; my $num_ignored = 0; # commit (i.e., save, all records in the batch) - SetImportBatchStatus($batch_id, 'importing'); my $overlay_action = GetImportBatchOverlayAction($batch_id); my $nomatch_action = GetImportBatchNoMatchAction($batch_id); my $item_action = GetImportBatchItemAction($batch_id); -- 2.39.5