Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
P2
-
Resolution: Done
-
Affects Version/s: None
-
Template:customfield_11100 27530
-
Sprint:CP: sprint 68, CP: sprint 69
-
Story Points:3
-
Development Team:Core: Platform
Description
This issue has been also raised during Bugest 3.1 manual testing as UIIN-664 and this ticket is not a blocker for it
The following query generates a 500 response with no body:
/instance-storage/instances?query=((contributors =/@name "FOO") and holdingsRecords.permanentLocationId="fcd64ce1-6995-48f0-840e-89ffa2288371")
but these are all successful:
/instance-storage/instances?query=(title = "FOO" or contributors =/@name "FOO") /instance-storage/instances?query=(contributors =/@name "FOO") /instance-storage/instances?query=((title="FOO") and holdingsRecords.permanentLocationId="fcd64ce1-6995-48f0-840e-89ffa2288371") /instance-storage/instances?query=(holdingsRecords.permanentLocationId="fcd64ce1-6995-48f0-840e-89ffa2288371")
The X-Okapi-Trace header contains:
GET mod-authtoken-2.3.0-SNAPSHOT.49 http://10.0.2.15:9144/inventory/instances.. : 202 21696us, GET mod-inventory-storage-15.6.0-SNAPSHOT.289 http://10.0.2.15:9147/instance-storage/instances.. : 500 26742us
Steps to repro:
- Go to inventory
- Search using All, Identifier, ISBN, ISSN, Contributor
- Apply location filter
Expected: Narrows results by location (effective location?)
Actual: Error shown ERROR: in module @folio/inventory, operation GET on resource 'records' failed, saying: org.folio.cql2pgjson.exception.QueryValidationException: CQL: Unsupported relation modifier @name
TestRail: Results
Attachments
Issue Links
- blocks
-
UIIN-664 error pop up appears when applied any location filter for the searched keyword in Inventory
-
- Closed
-
- relates to
-
MODINVSTOR-331 Can't create instance in Inventory: ERROR: in module @folio/inventory, operation POST on resource 'records' failed, saying: Failed to fetch
-
- Closed
-