Uploaded image for project: 'mod-data-import'
  1. mod-data-import
  2. MODDATAIMP-659

Error when Data Import Job Profile has Create FOLIO Holdings

    XMLWordPrintable

Details

    • 0.5
    • Folijet Support
    • Lotus R1 2022
    • !!!ALL!!!
    • Data related (ex. Can be detected with large dataset only)

    Description

      Overview:

      In the current Lotus R1 2022 bugfest environment, when a job profile has been set up to create a marc bib srs, FOLIO instance, FOLIO holdings, and FOLIO item, the job results in a error. io.vertx.core.impl.NoStackTraceThrowable: { "errors" : [ { "message" : "Cannot set holdings_record.sourceid = f32d531e-df79-46b3-8932-cdd35f7a2264 because it does not exist in holdings_records_source.id.", "type" : "1", "code" : "-1", "parameters" : [ { "key" : "holdings_record.sourceid", "value" : "f32d531e-df79-46b3-8932-cdd35f7a2264" } ] } ] }

      The instance is created, the holdings discarded and the job doesn't even make it to the item.

      Steps to Reproduce:

      1. Log into https://bugfest-lotus.int.aws.folio.org/, Lotus R1 2022 bugest, 
      2. Go to settings and Data Import
      3. Create a field mapping for item, holdings, and instance. These can be general ie only have required fields.
      4. Create 3 action profiles to create item, holdings, instance linked to appropriate field mappings
      5. Create job profile with no match and the create actions you just did.
      6. Go to Data Import
      7. Drag and drop any .mrc file
      8. Run the job profile you just created
      9. Wait,... wait some more
      10. Check log and see the error

      Expected Results:

      SRS, instance, holdings, and items are created

      Actual Results:

      Instance is created. Holdings are discarded.
      Additional Information:
      Log for Jennifer Eustis' DI

      https://bugfest-lotus.int.aws.folio.org/data-import/job-summary/14fcf01c-eacc-4f36-8ea6-e36567ecd530?sort=recordNumber

      Log for Jenn Colt's DI

      https://bugfest-lotus.int.aws.folio.org/data-import/job-summary/d72cf331-266a-4796-a843-b73beb2996c0?sort=recordNumber

      Interested parties:

      ALL

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Miami20 Khamidulla Abdulkhakimov
                jeustis Jennifer Eustis
                Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases