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

    • Bug
    • Status: Closed (View Workflow)
    • P2
    • Resolution: Done
    • None
    • 1.1.1
    • None

    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

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases