Endpoint GET /records-editor/records returns 422 response code when a record contains 006 field
Steps to Reproduce:
- Log into FOLIO-snapshot-load as diku_admin
- Go to Data import and import the attached MARC file, using the secret button (Actions -> Load MARC bibliographic records)
- Go to inventory and find an instance by Instance HRID using value from field 001 of the imported record.
- Choose the action "Edit in quick MARC".
The endpoint returns a response 200 with a representation of MARC record for QuickMARC in the body and ui displays grid for record editing.
The endpoint returns a response 422 and ui displays an error message "Record cannot be found or loaded".