Done
Details
Details
Assignee
Unassigned
UnassignedReporter
Mark Veksler
Mark VekslerPriority
Sprint
None
Development Team
Core: Platform
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created January 7, 2019 at 8:01 PM
Updated August 20, 2019 at 8:21 AM
Resolved July 8, 2019 at 3:12 PM
Steps to repro:
Go to Users
Entering ")" into the search criteria and hitting Search
Expected: Return results containing this character or show "No results found for ")". Please check your spelling and filters."
Actual: Generates an error: ERROR: in module @folio/users, operation GET on resource 'records' failed, saying: Internal Server Error, Please contact System Administrator or try again
Additional info: Entering "^" retrieves all records. Not sure why this is, but I guess it's okay.
Notes
The query for ")" result in the following CQL
query: (title=")" or contributors adj "\"name\": \")\"" or identifiers adj "\"value\": \")\"") sortby title
which seems OK. The error returned by the server seems to be coming from Postgres.ErrorMessage(fields=Map(Line -> 208, File -> regexp.c, SQLSTATE -> 2201B, Routine -> RE_compile_and_cache, V -> ERROR, Message -> invalid regular expression: parentheses () not balanced, Severity -> ERROR))
@Adam Dickmeiss @Julian Ladisch we should verify if the problem is fixes in RMB 25.