Done
Details
Details
Assignee
Dmytro Melnyshyn
Dmytro MelnyshynReporter
Valery_Pilko
Valery_PilkoLabels
Priority
Story Points
1
Sprint
None
Development Team
Spitfire
Fix versions
Release
Quesnelia (R1 2024)
RCA Group
Legitimate regression
Affected releases
Quesnelia (R1 2024)
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created December 13, 2023 at 10:44 AM
Updated April 4, 2024 at 11:26 AM
Resolved January 5, 2024 at 6:36 PM
Overview: "MARC authority" record is not found automatically in "Select MARC authority" modal when linked field has "$0".
When linkable MARC bib field has subfield "$0" GET request to '/search/authorities' fails with 400 error.
Steps to Reproduce:
Log into Snapshot FOLIO environment as admin.
Go to "Inventory" app.
Find and open detail view if imported "MARC bib" record (
), ex.: "Britain's contribution to détente"
Click on the "Actions" >> "Edit MARC bibliographic record"
Click on the "Link to MARC Authority record" icon placed next to "240" field.
Expected Results:
The modal window titled "Select MARC authority" is displayed with executed search:
Selected "Search" toggle
"Advanced search" is selected search option.
CQL query is being displayed in the search box: "keyword==Conf on Security & Cooperation in Europe or identifiers.value==n88606074"
Imported "MARC authority" record (
) is displayed in the second pane.
Actual Results:
The modal window titled "Select MARC authority" is displayed with:
UI - message" No results found for "keyword==Conf on Security & Cooperation in Europe or identifiers.value==n88606074". Please check your spelling and filters."
DevTools - 400 error for GET request '/search/authorities' with following message:
{ "errors": [ { "message": "Failed to parse cql query [cql: '', resource: authority]", "type": "SearchServiceException", "code": "service_error" } ], "total_records": 1 }
See attached screencast:
Interested parties: @Christine Schultz-Richert