[Koha-bugs] [Bug 28484] Elasticsearch fails to parse query if colon or exclamation point is in 245$a

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 8 15:33:26 CEST 2021


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

--- Comment #2 from John Yorio <jyorio at equinoxinitiative.org> ---
(In reply to John Yorio from comment #1)
> I'm just confirming this error occurs.
> 
> Staff saw Internal Server Error when trying to view a bib record. 
> 
> Looking in the log files, I saw the "[query_shard_exception] Failed to parse
> query [(host-item: ...." message as per Bohdan's original post. 
> 
> Editing the bib record by directly bringing it up with
> addbiblio.pl?biblionumber= worked and I removed the colon at the end of the
> 245a. The record could then be viewed. Adding the colon back caused the
> error again.

I did some further testing.

In my testing of a 245$a ending in a colon, if the colon is preceded by a
space, the error does not occur. So, something like "My Title :" works fine,
but "My Title:" produces the error.

Exclamation points failed regardless.

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


More information about the Koha-bugs mailing list