Bugzilla – Attachment 125986 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.18 KB, created by
David Nind
on 2021-10-08 21:30:17 UTC
(
hide
)
Description:
Bug 29197: Add missing import in commit_file.pl
Filename:
MIME Type:
Creator:
David Nind
Created:
2021-10-08 21:30:17 UTC
Size:
1.18 KB
patch
obsolete
>From a78aa1820c6c868062c681cded2837878f06ffdd 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> > >Signed-off-by: David Nind <david@davidnind.com> >--- > 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.20.1
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