Uploaded image for project: 'data-import-processing-core'
  1. data-import-processing-core
  2. MODDICORE-216

Cannot edit a MARC Holdings record created with Add MARC Holdings record

    XMLWordPrintable

Details

    • eHoldings Sprint 128, eHoldings Sprint 129
    • 1
    • Spitfire

    Description

      Steps to Reproduce:

      1. Log into snapshot FOLIO environment
      2. Go to inventory and find an instance with source = MARC
      3. Click Add MARC Holdings record on Actions dropdown
      4. Fill in the fields (852 is required)
      5. Click Save and Close
      6. Wait until new MARC Holdings record is created and click Edit in quickmarc on View MARC Holdings record page
      7. Edit some field(s)
      8. Click Save and Close

      Expected Results: MARC Holdings record is updated
      Actual Results: An error message appears
      Additional Information:
      Response from BE received:

      code: "INTERNAL_SERVER_ERROR"
      message: "{ \"message\": \"insert or update on table \\\"holdings_record\\\" violates foreign key constraint \\\"holdingstypeid_holdings_type_fkey\\\"\", \"severity\": \"ERROR\", \"code\": \"23503\", \"detail\": \"Key (holdingstypeid)=(fe19bae4-da28-472b-be90-d442e2428ead) is not present in table \\\"holdings_type\\\".\", \"file\": \"ri_triggers.c\", \"line\": \"2463\", \"routine\": \"ri_ReportViolation\", \"schema\": \"diku_mod_inventory_storage\", \"table\": \"holdings_record\", \"constraint\": \"holdingstypeid_holdings_type_fkey\" }"
      type: "-3"
      

       

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Oleksandr Dekin Oleksandr Dekin
                mariiaschv Mariia Sychova
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases