Bugzilla – Attachment 54781 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]
Bug 17141: Call config method to retrieve logdir
Bug-17141-Call-config-method-to-retrieve-logdir.patch (text/plain), 1.20 KB, created by
Jonathan Druart
on 2016-08-23 15:42:29 UTC
(
hide
)
Description:
Bug 17141: Call config method to retrieve logdir
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-08-23 15:42:29 UTC
Size:
1.20 KB
patch
obsolete
>From 570fb78422f4dcdf55ad4e4444a65b890e5c423b 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] 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> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Note: I did not test but changes make sense. >--- > 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.8.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 17141
:
54544
|
54728
| 54781