Bugzilla – Attachment 54728 Details for
Bug 17141
Incorrect method called in edi_cron to get logdir
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 17141: Call config method to retrieve logdir
SIGNED-OFF-Bug-17141-Call-config-method-to-retriev.patch (text/plain), 1.09 KB, created by
Aleisha Amohia
on 2016-08-23 00:26:05 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 17141: Call config method to retrieve logdir
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2016-08-23 00:26:05 UTC
Size:
1.09 KB
patch
obsolete
>From 89531ffbc39aee11754f4100c06a97aea489b17e Mon Sep 17 00:00:00 2001 >From: Colin Campbell <colin.campbell@ptfs-europe.com> >Date: Wed, 17 Aug 2016 17:30:55 +0100 >Subject: [PATCH] [SIGNED-OFF] Bug 17141: Call config method to retrieve logdir > >Incorrect method call is causing runtime error and not >retrieving the correct logdir value >Change retrieves the value correctly > >To test: >1) Run edi_cron.pl, notice error >2) Apply patch and run edi_cron.pl again, should work as expected > >Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com> >--- > misc/cronjobs/edi_cron.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/misc/cronjobs/edi_cron.pl b/misc/cronjobs/edi_cron.pl >index a383033..c23341a 100755 >--- a/misc/cronjobs/edi_cron.pl >+++ b/misc/cronjobs/edi_cron.pl >@@ -36,7 +36,7 @@ use Koha::EDI qw( process_quote process_invoice process_ordrsp); > use Koha::Edifact::Transport; > use Fcntl qw( :DEFAULT :flock :seek ); > >-my $logdir = C4::Context->context('logdir'); >+my $logdir = C4::Context->config('logdir'); > > # logging set to trace as this may be what you > # want on implementation >-- >2.1.4
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 17141
:
54544
|
54728
|
54781