[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
Wed Aug 11 20:47:29 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28682
Fridolin Somers <fridolin.somers at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #122661|0 |1
is obsolete| |
--- Comment #6 from Fridolin Somers <fridolin.somers at biblibre.com> ---
Created attachment 123800
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=123800&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