[Koha-bugs] [Bug 28326] New: If ElasticSearch enable is not possible to edit or save records with ' ES reserved charset' like []

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 12 08:34:08 CEST 2021


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

            Bug ID: 28326
           Summary: If ElasticSearch enable is not possible to edit or
                    save records with '  ES reserved charset' like []
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Searching - Elasticsearch
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: hagud at orex.es

With ElasticSearch enabled it is not possible to create or edit any record with
special charset in the title like []

[2021/05/12 06:29:49] [WARN] [Request] ** [hxxxxxx]-[400]
[query_shard_exception] Failed to parse query [(host-item:[Romanza
appassionata])], with:
{"index_uuid":"VlZbj1MfQtWjWgdlnkSUXA","index":"koha_cxxx_biblios"}, called
from sub Search::Elasticsearch::Role::Client::Direct::__ANON__ at
/usr/share/koha/lib/Koha/SearchEngine/Elasticsearch/Search.pm line 96. With
vars: {'status_code' => 400,'body' => {'error' => {'grouped' => bless( do{\(my
$o = 1)}, 'JSON::PP::Boolean' ),'root_cause' => [{'reason' => 'Failed to parse
query [(host-item:[Romanza appassionata])]','index_uuid' =>
'VlZbj1MfQtWjWgdlnkSUXA','index' => 'koha_xxxx_biblios','type' =>
'query_shard_exception'}],'reason' => 'all shards failed','failed_shards' =>
[{'reason' => {'index_uuid' => 'VlZbj1MfQtWjWgdlnkSUXA','caused_by' => {'type'
=> 'parse_exception','caused_by' => {'type' => 'parse_exception','reason' =>
'Encountered " <RANGE_GOOP> "appassionata "" at line 1, column 20.
Was expecting:
    "TO" ...
    '},'reason' => 'Cannot parse \'(host-item:[Romanza appassionata])\':
Encountered " <RANGE_GOOP> "appassionata "" at line 1, column 20.
Was expecting:
    "TO" ...

-- 
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