]> git.koha-community.org Git - koha.git/commit
Bug 17495: Fix 'method selected not covered by test' in reports/issues_stats.pl
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 25 Oct 2016 07:16:56 +0000 (09:16 +0200)
committerMason James <mtj@kohaaloha.com>
Mon, 12 Dec 2016 01:32:31 +0000 (14:32 +1300)
commitd73fa3abf03be3111adf89228298540b8ec85c48
treebf891e8b6290d864d7a57573c35e785dc2b0a292
parent62e11a8cf6cca1f1b2f721ded5d316f33ebba0b1
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.

Reproduced. Followed test plan, works as expected.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Mason James <mtj@kohaaloha.com>
koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt