[Koha-bugs] [Bug 24586] Double quote escape doesn't work properly in C4::AuthoritiesMarc::SearchAuthorities with QueryParser enabled

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 12 00:08:39 CET 2020


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

--- Comment #8 from David Cook <dcook at prosentient.com.au> ---
(In reply to Jonathan Druart from comment #7)
> Created attachment 98721 [details] [review]
> Bug 24586: Add tests
> 
> Not sure about this approach. Maybe we are hiding a problem coming from
> somewhere else. Maybe better to handle the error from the callers.

Agreed. The patch I've attached is a hot fix just to workaround the issue
temporarily and I figured I'd share it, but I don't think that it's a complete
solution.

For a long time, I've been thinking that we should catch errors from Zebra and
Zebra libraries, and then display a user-friendly message to users from the
calling script. Even something like "Something went wrong. Please contact your
system administrator."

I think that could actually help surface a lot of existing problems.

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


More information about the Koha-bugs mailing list