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

Holdings fails to create due to Location code not being recognized

    XMLWordPrintable

Details

    • Folijet Sprint 111, Folijet Sprint 112
    • 2
    • Folijet
    • R1 2021 Bug Fix
    • MO State

    Description

      Overview: This is reproducing in both Honeysuckle shared ref env and in Iris Bugfest

      Current workaround: For location codes, default the code into the field mapping profile, instead of reading it from a subfield in the incoming MARC record. This only works if all the records in the imported file will have the same location.

      Steps to Reproduce:

      1. Log into Iris Bugfest as abreaux/admin
      2. Review the job profile called Marcive import which has the following logic:
        • Try to match the 035$a on the incoming MARC record to a System Control Number identifier on an existing instance
          • If there is a match, stop
          • If there is not a match, continue
            • Create an instance, with a cataloged date of today and a status of Batch record load noexport
            • Create a holdings, with a permanent location from 949 $l. In the attached MARC file, the 949$l value is SMDDU
      3. In Settings/Tenant/Location ensure there is a location code for SMDDU (which there is, under Missouri State/Springfield/Duane G Meyer/Gov Docs
      4. Import the attached MARC file (Note that I changed the 001 so that it would not accidentally to to match on an 035 in SRS or find a match in Inventory
        • Review the results in the data import log details and in Inventory

      Expected Results: No match, so SRS MARC, Instance, and Holdings should be created

      Actual Results: SRS MARC and Instance created. Holdings not created, Here's the error message from the holdings section of the Data Import log

      io.vertx.core.impl.NoStackTraceThrowable: {"errors":[{"message":"must match \"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$\"","type":"1","code":"-1","parameters":[{"key":"permanentLocationId","value":"SMDDU"}]}]}
      

      Also, when trying to display the holdings page of the log, I get the attached error message. Could we have it fail more gracefully? If this should be a separate bug, then let me know, and I'll add a separate UI bug for it.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                afedasiuk Aliaksandr Fedasiuk
                abreaux Ann-Marie Breaux
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases