[Koha-bugs] [Bug 24398] Error when viewing single news item and NewsAuthorDisplay pref set to OPAC
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Dec 10 16:50:49 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24398
Lucas Gass <lucas at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #114309|0 |1
is obsolete| |
--- Comment #3 from Lucas Gass <lucas at bywatersolutions.com> ---
Created attachment 114312
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=114312&action=edit
Bug 24398: Fix 500 when viewing a single news item at the OPAC
Test plan:
0. Set the NewsAuthorDisplay preference to 'OPAC' or 'Both OPAC and staff
client.'
1. Open the OPAC main page and click on an individual news item
Without this patch you get an ugly 500
Template process failed: undef error - The method
Koha::NewsItem->author_title is not covered by tests!
With this patch applied you see the news with the author's info
Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list