Bugzilla – Attachment 125962 Details for
Bug 29197
commit_file.pl missing import
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29197: Add missing import in commit_file.pl
Bug-29197-Add-missing-import-in-commitfilepl.patch (text/plain), 1.13 KB, created by
Tomás Cohen Arazi (tcohen)
on 2021-10-08 13:48:13 UTC
(
hide
)
Description:
Bug 29197: Add missing import in commit_file.pl
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2021-10-08 13:48:13 UTC
Size:
1.13 KB
patch
obsolete
>From e9e05813814d859aeb57a48fdc0ea16b23e34dbc Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Fri, 8 Oct 2021 10:44:00 -0300 >Subject: [PATCH] Bug 29197: Add missing import in commit_file.pl > >This patch adds a new method import to the commit_file.pl script. > >To test: >1. Have MARC data staged >2. Run: > $ kshell > k$ perl misc/commit_file.pl --list-batches >=> FAIL: You get >Undefined subroutine &main::GetAllImportBatches called at misc/commit_file.pl line 68. >3. Apply this patch >4. Repeat 2 >=> SUCCESS: You get the list of batches >5. Sign off :-D > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > misc/commit_file.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/misc/commit_file.pl b/misc/commit_file.pl >index 2a243439d0..efabdfc429 100755 >--- a/misc/commit_file.pl >+++ b/misc/commit_file.pl >@@ -11,7 +11,7 @@ BEGIN { > > use Koha::Script; > use C4::Context; >-use C4::ImportBatch qw( GetImportBatch BatchCommitRecords BatchRevertRecords ); >+use C4::ImportBatch qw( GetAllImportBatches GetImportBatch BatchCommitRecords BatchRevertRecords ); > use Getopt::Long qw( GetOptions ); > > $| = 1; >-- >2.32.0
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 29197
:
125962
|
125986
|
126011