Done
Details
Assignee
Zak BurkeZak BurkeReporter
Julian LadischJulian LadischTester Assignee
Charlotte WhittCharlotte WhittLabels
Priority
P3Story Points
5Sprint
NoneDevelopment Team
ProkopovychTestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Zak Burke
Zak BurkeReporter
Julian Ladisch
Julian LadischTester Assignee
Charlotte Whitt
Charlotte WhittLabels
Priority
Story Points
5
Sprint
None
Development Team
Prokopovych
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created May 27, 2019 at 2:30 PM
Updated March 17, 2023 at 7:16 AM
Resolved March 5, 2020 at 1:46 PM
Select "Subject" for the search type (or any search type - they all seem to generate an error when quotes or backslash are included)
When entering
\"
or
"
into the search box there should be no error message (the backend will ignore these characters when the = operator for a full-text search is used, for an exact search using == correct masking is needed).
Actual result for the second search term: Error popup: ERROR: in module @folio/inventory, operation GET on resource 'records' failed, saying: org.z3950.zing.cql.cql2pgjson.QueryValidationException: org.z3950.zing.cql.CQLParseException: expected ')', got EOF
These are the query strings (after urldecoding) sent from front-end to back-end:
(subjects=""") sortby title (subjects="\"") sortby title
They should be
(subjects="\"") sortby title (subjects="\\\"") sortby title
For CQL quoted string masking see https://www.loc.gov/standards/sru/cql/spec.html#bnf