Bug 13447

Summary: runreport.pl html email fails
Product: Koha Reporter: Martin Renvoize <martin.renvoize>
Component: ReportsAssignee: Galen Charlton <gmcharlt>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: chris, mtj, tomascohen
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on:    
Bug Blocks: 13448    
Attachments: BUG 13447: Fixed HTML Email Reports
BUG 13447: Fixed HTML Email Reports
[PASSED QA] BUG 13447: Fixed HTML Email Reports

Description Martin Renvoize 2014-12-12 10:20:57 UTC
When running runreport.pl from the command line with the following valid options the resulting email contains an empty body.

perl /usr/share/koha/bin/cronjobs/runreport.pl --format=html --to='me@myemail.com' 58

The above command is taken from a test on a package based install and run under koha-shell for the instance.  However, I have also tested with a dev type install and obtained the same result.
Comment 1 Martin Renvoize 2014-12-12 12:23:05 UTC Comment hidden (obsolete)
Comment 2 Martin Renvoize 2014-12-12 12:25:28 UTC
I feel bad, as I missed this when QAing Bug 9530
Comment 3 Chris Cormack 2014-12-21 08:53:56 UTC Comment hidden (obsolete)
Comment 4 Katrin Fischer 2014-12-27 13:44:19 UTC
Created attachment 34715 [details] [review]
[PASSED QA] BUG 13447: Fixed HTML Email Reports

A tiny typo made in runreport.pl when updating it for bug 9530 lead to
no body being attached to html emails.

Signed-off-by: Chris <chris@bigballofwax.co.nz>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 5 Tomás Cohen Arazi 2014-12-28 23:52:30 UTC
Patch pushed to master.

Thanks Martin!
Comment 6 Chris Cormack 2014-12-30 21:45:20 UTC
Pushed to 3.18.x will be in 3.18.3
Comment 7 Mason James 2015-01-16 20:33:53 UTC
Pushed to 3.16.x, will be in 3.16.7