]> 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)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 28 Oct 2016 11:26:58 +0000 (11:26 +0000)
commit2d4226902d20bc0d3bcd696f34d56ac60ee2c5b6
treea6110f6f173fd4e390de51728d9120c7805df53e
parent239b81c1dd0cfa2e5e1f720ba9b8554536a9bc44
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: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt