Bugzilla – Attachment 152744 Details for
Bug 33972
Remove unnecessary batch status change in C4::ImportBatch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33972: Remove settings of batch status to importing
Bug-33972-Remove-settings-of-batch-status-to-impor.patch (text/plain), 1.16 KB, created by
Marcel de Rooy
on 2023-06-27 13:45:16 UTC
(
hide
)
Description:
Bug 33972: Remove settings of batch status to importing
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2023-06-27 13:45:16 UTC
Size:
1.16 KB
patch
obsolete
>From e7774396964b43c21af5629ef901b8a7670636f3 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Tue, 27 Jun 2023 13:26:10 +0000 >Subject: [PATCH] Bug 33972: Remove settings of batch status to importing >Content-Type: text/plain; charset=utf-8 > >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 <nick@bywatersolutions.com> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > C4/ImportBatch.pm | 1 - > 1 file changed, 1 deletion(-) > >diff --git a/C4/ImportBatch.pm b/C4/ImportBatch.pm >index 0945632089..48f1e26e28 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.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 33972
:
152249
|
152400
|
152401
|
152409
|
152410
|
152654
|
152655
|
152738
| 152744