Uploaded image for project: 'mod-quick-marc'
  1. mod-quick-marc
  2. MODQM-35

GET /records-editor/records returns 422 when record has 006 field

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: P2
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.1.1
    • Labels:
      None
    • Template:
      Standard Bug Write-Up Format
    • Sprint:
      Firebird Sprint 95
    • Story Points:
      1
    • Development Team:
      Firebird
    • Release:
      Q2 2020 Hot Fix #1

      Description

      Overview:
      Endpoint GET /records-editor/records returns 422 response code when a record contains 006 field

      Steps to Reproduce:

      1. Log into FOLIO-snapshot-load as diku_admin
      2. Go to Data import and import the attached MARC file, using the secret button (Actions -> Load MARC bibliographic records)
      3. Go to inventory and find an instance by Instance HRID using value from field 001 of the imported record.
      4. Choose the action "Edit in quick MARC".

      Expected Results:
      The endpoint returns a response 200 with a representation of MARC record for QuickMARC in the body and ui displays grid for record editing.

      Actual Results:
      The endpoint returns a response 422 and ui displays an error message "Record cannot be found or loaded".

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                khandramai Viachaslau Khandramai
                Reporter:
                ruslan_lavrov Ruslan Lavrov
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases