Bug 17141

Summary: Incorrect method called in edi_cron to get logdir
Product: Koha Reporter: Colin Campbell <colin.campbell>
Component: AcquisitionsAssignee: Colin Campbell <colin.campbell>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: f.demians, jonathan.druart, kyle
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 7736    
Bug Blocks:    
Attachments: Proposed patch
[SIGNED-OFF] Bug 17141: Call config method to retrieve logdir
Bug 17141: Call config method to retrieve logdir

Description Colin Campbell 2016-08-17 16:28:03 UTC
Should call the config method to retrieve the logdir otherwise an error is generated at runtime
Comment 1 Colin Campbell 2016-08-17 16:34:26 UTC Comment hidden (obsolete)
Comment 2 Aleisha Amohia 2016-08-23 00:26:05 UTC Comment hidden (obsolete)
Comment 3 Jonathan Druart 2016-08-23 15:42:29 UTC
Created attachment 54781 [details] [review]
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.
Comment 4 Kyle M Hall 2016-09-02 16:48:40 UTC
Pushed to master for 16.11, thanks Colin!
Comment 5 Frédéric Demians 2016-09-08 19:56:31 UTC
Pushed in 16.05. Will be in 16.05.04.