Uploaded image for project: 'mod-source-record-manager'
  1. mod-source-record-manager
  2. MODSOURMAN-840

Importing MARC records with 999 ff fields using Create jobs without match profiles causes data problems (MARC Bibs)

    XMLWordPrintable

Details

    • 5
    • Folijet Support
    • Morning Glory (R2 2022) Bug Fix
    • Cornell, University of Chicago
    • Requirements change

    Description

      Related to MODDATAIMP-426; resolve that one first, and then see if that fix resolves this one as well - No, it doesn't

      MARC Bibs being handled in MODSOURMAN-840; MARC Authority and MARC Holdings being handled in MODSOURMAN-854

      Workaround: Remove the 999 ff field before importing

      Steps to Reproduce: (for TestRail, you can also use Scenario 1 from MODSOURMAN-854 and the file BibsMODSOURMAN-854 linked to it)

      1. Log into FOLIO snapshot-load
      2. Go to Inventory and filter by Source = MARC; make sure there are already some source = MARC records in Inventory
      3. Export a few of those records, using the default export profile
      4. That exported MARC file will serve as the basis of the next Import. Those records will already have a FOLIO HRID in 001 and a 999 ff with Instance and SRS UUIDs
      5. Import that file of exported records, using the default Create instance and SRS MARC import profile (which has no match profile)

      Expected Results:
      Do not create a new SRS MARC Bib or Instance. Discard the incoming record with an error message indicating that a new Instance was not created because the incoming record already contained a 999 ff

      Actual Results:
      The new records are created but get linked to the previously existing SRS MARC record, which causes multiple instances to be linked to one MARC record and breaks the SRS-instance relationship, causing Quick MARC to stop working for these records.

      Note If records are from a different FOLIO tenant, then the user should definitely delete the 999 ff field before trying to load the records to the other tenant, so that the new tenant recognizes them as new records. Also, if MARC records are being imported with a Create profile, then any pre-existing 999 ff data should be stripped, so that the incoming record can be treated like a new SRS MARC Bib and create a new instance.

      TestRail: Results

        Attachments

          1. Checking the creation holding and item through match by the 999 ff field.mp4.mp4
            9.73 MB
          2. Checking the import of MARC bib file with 999 ff fields .mp4
            14.10 MB
          3. goingToOregon.mrc
            2 kB
          4. image (14).png
            image (14).png
            31 kB
          5. image-2022-08-11-11-48-40-755.png
            image-2022-08-11-11-48-40-755.png
            151 kB
          6. image-2022-08-11-11-49-07-007.png
            image-2022-08-11-11-49-07-007.png
            70 kB
          7. MODDATAIMP-426export.mrc
            10 kB
          8. MODDATAIMP-427.mp4
            8.34 MB
          9. moddataimp-427-1.mrc
            34 kB
          10. MODDATAIMP-427 part 3.mp4
            12.84 MB
          11. MODDATAIMP-427 revised.mp4
            13.67 MB
          12. oneMarcBib.mrc
            1 kB
          13. sourman-580_1.mrc
            4 kB

          Issue Links

            Activity

              People

                VRohach Volodymyr Rohach
                jenncolt Jenn Colt
                Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases