[Koha-bugs] [Bug 17495] reports/issues_stats.pl is broken

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 25 09:26:01 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17495

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 56828
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56828&action=edit
Bug 17495: Fix 'method selected not covered by test' in reports/issues_stats.pl

If you access reports/issues_stats.pl, you will get
Template process failed: undef error - The method selected is not
covered by tests! at /home/vagrant/kohaclone/C4/Templates.pm line 121
http://localhost:8081/cgi-bin/koha/reports/reports-home.pl

Bug 15407 sent objects to the template and the selected method is not
defined.
The bug had been highlighted by bug 17425 which dies instead of hides the
error.

Not that the "selected" code was not needed, the different elements of
the page never select a specific value.

Test plan:
Apply this patch and confirm that the error is no longuer displayed.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list