[Koha-bugs] [Bug 28682] Record detail page fails if error with search for analytics
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jul 8 03:54:12 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28682
--- Comment #1 from Fridolin Somers <fridolin.somers at biblibre.com> ---
Created attachment 122661
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=122661&action=edit
Bug 28682: Protect search for analytics in record detail page
In record detail page, there is a search for analytics, see Bug 15851.
If for any reason this search fails, the page will be broken with 'Internal
server error'.
This patch adds a protection with eval.
Test plan :
1) Use a Zebra install with no Elasticsearch configuration
2) Go to staff interface
3) Go to any record detail page : no error
4) Change preference 'SearchEngine' to 'Elasticsearch'
5) Refresh ecord detail page : check you have no error
6) Check a record with analytics link
7) Repeat 3 to 6 on OPAC
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list