[Koha-bugs] [Bug 29284] Koha dies when an analytics search fails in Elasticsearch

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 21 10:09:42 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29284

Jonathan Druart <jonathan.druart+koha at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonathan.druart+koha at gmail.
                   |                            |com
             Status|Passed QA                   |Failed QA

--- Comment #7 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
1.
Please improve the error handling

[2021/10/21 08:08:21] [WARN] Use of uninitialized value $err in concatenation
(.) or string at /kohadevbox/koha/catalogue/detail.pl line 150.

+    if ($err || $@){
+        warn "Warning from simple_search_compat: $err.$@";

2. Second patch needs tests.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list