Uploaded image for project: 'mod-inventory'
  1. mod-inventory
  2. MODINV-332

Cannot update instance and create a holdings

    XMLWordPrintable

    Details

    • Template:
      Standard Bug Write-Up Format
    • Sprint:
      Folijet Sprint 95, Folijet Sprint 96
    • Story Points:
      3
    • Development Team:
      Folijet
    • Release:
      Q2 2020 Hot Fix #2
    • Affected Institution:
      Lehigh, Simmons

      Description

      Overview: This was reported by Lehigh. It's happening on the Goldenrod hosted ref env (which does not have all of the hotfixes yet), but I was able to reproduce it on folio-snapshot-load. We need to resolve ASAP.

      Current workaround: None, would have to manually update instance and create holdings

      Steps to Reproduce:

      1. Log into FOLIO-snapshot-load as diku_admin
      2. Go to Data Import and load the attached AMB Lehigh E Part 1.mrc using the secret button, so only an instance is created
      3. Go to inventory and confirm that the instance was created
      4. Copy the HRID
      5. Open the original MARC file, replace the 001 with the Instance HRID, and re-save the file as AMB Lehigh E Part 2.mrc
      6. Go to Settings/Data Import these profiles already exist on folio-snapshot-load, if you review them before its next refresh
      7. Create Field mapping profile 1
        • Name: Lehigh - update e-instance
        • Incoming record type: MARC Bib
        • FOLIO record type: Instance
        • Cataloged date: ###TODAY###
      8. Create Field mapping profile 2
        • Name: Lehigh - create e-holdings
        • Incoming record type: MARC Bib
        • FOLIO record type: Holdings
        • Suppress from discovery: Mark for all affected records
        • Holdings type: Electronic (from dropdown list)
        • Permanent location: Online (E) (from dropdown list)
        • Call number type: Other scheme (from dropdown list)
        • Call number: "Electronic books"
        • Electronic access
          • Type: Resource (from dropdown list)
          • URI: 857$u
          • Link text: 857$z
      9. Create Action profile 1
        • Name: Lehigh - update e-instance
        • Action: Replace
        • FOLIO record type: Instance
        • Link the above instance field mapping profile to it
      10. Create Action profile 2
        • Name: Lehigh - create e-holdings
        • Action: Create
        • FOLIO record type: Holdings
        • Link the above holdings field mapping profile to it
      11. Create Match profile
        • Name: Lehigh 001 to Instance HRID
        • Incoming record: MARC Bib
        • FOLIO record: Instance
        • MARC field: 001
        • No qualifier or only compare
        • Exactly matches
        • Existing instance record HRID
        • No qualifier or only compare
      12. Create job profile
        • Name: Lehigh - update e-instance and create e-holdings
        • Match profile: Lehigh 001 to Instance HRID
        • For matches
          • Action profile: Lehigh - update e-instance
          • Action profile: Lehigh - create e-holdings
      13. Go to Data Import
      14. Upload the file AMB Lehigh E Part 2.mrc (which you created by changing the 001 in file AMB Lehigh E Part 2.mrc from the original value to the Instance HRID that was assigned when the first file was loaded)
      15. Use the newly-created job profile to import the file
      16. Go to Inventory to check the updated instance and newly-created holdings record on it

      Expected Results: Instance is updated and holdings record is created

      Actual Results: The job hangs, and never finishes importing

      Additional Information: See attached MARC file and video

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                OleksiiKuzminov Oleksii Kuzminov
                Reporter:
                abreaux Ann-Marie Breaux
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases