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

The status of Instance is Discarded in the Import log after uploading MARC file for update

    XMLWordPrintable

Details

    • 0
    • Folijet
    • Orchid (R1 2023)
    • Not a bug
    • Orchid (R1 2023), Nolana (R3 2022)

    Description

      Preconditions:

      1. The user is logged into application.

      Steps to Reproduce:

      1. Go to Settings/Data import/MARC field protections

      If these fields are not already in the field protection settings, add these two:

        • Field 020, Ind 1 *, Ind 2 *, Subfield a, Data *
        • Field 514, Ind 1 *, Ind 2 *, Subfield *, Data *

            2. Create and save field mapping profile 1:

        • Name: Update MARC Bib with protections
        • FOLIO record type: MARC Bibliographic
        • Field mappings for MARC: Update
        • In the details, ignore the Updates details
        • In the Override protected fields section, do not check any rows
          Save the profile.

            3. Create and save field mapping profile 2:

        • Name: Update instance 1
        • FOLIO record type: Instance
        • Add an administrative note, e.g. "This note was added when the MARC Bib was updated to check field protections"

            4. Create and save field mapping profile 3:

        • Name: Update MARC Bib with protection OVERRIDES
        • FOLIO record type: MARC Bibliographic
        • Field mappings for MARC: Update
        • In the details, ignore the Updates details
        • In the Override protected fields section, put a checkmark in the "Override" box for the 020 and 514 fields

            5. Create and save field mapping profile 4:

        • Name: Update instance 2
        • FOLIO record type: Instance
        • Add an administrative note, e.g. "This note was added when the MARC Bib was updated to check field protection OVERRIDES"

            6. Create and save 4 Action profiles, and link to the above field mapping profiles:

        • Action profile 1: Update MARC Bib with protections, Action: Update, FOLIO record type: MARC Bibliographic
        • Action profile 2: Update instance 1, Action: Update, FOLIO record type: Instance
        • Action profile 3: Update MARC Bib with protection OVERRIDES, Action: Update, FOLIO record type: MARC Bibliographic
        • Action profile 4: Update instance 2, Action: Update, FOLIO record type: Instance

            7. Go to Settings/Data import/Match profiles, and either confirm, that this match profile exists, or if not, then create and save it

        • Name: 001 to 001 MARC Bib
        • MARC Bib linked to MARC Bib
        • Incoming MARC Bib record: Field: 001, all others [blank]
        • Exactly matches
        • Existing MARC Bib record: Field: 001, all others [blank]

            8. Go to Settings/Data import/Job profiles, and create and save Job profile 1

        • Name: Update 1: MARC Bib with protections
        • Accepted data type: MARC
        • Match profile: 001 to 001 MARC Bib
        • For matches:
        • First assign Action profile: Update MARC Bib with protections
        • Then assign Action profile: Update instance 1
          The Update MARC Bib action must be before the Update instance action

            9. Go to Settings/Data import/Job profiles, and create and save Job profile 2

        • Name: Update 2: MARC Bib with protections
        • Accepted data type: MARC
        • Match profile: 001 to 001 MARC Bib
        • For matches:
        • First assign Action profile: Update MARC Bib with protection OVERRIDES
        • Then assign Action profile: Update instance 2
          The Update MARC Bib action must be before the Update instance action

            10. Import the first attached MARC file, named oneMarcBib-BeforeOverride.mrc, using the default job profile named Default - Create instance and SRS MARC Bib

            11. Once the file is imported, check the log at the top of the list on the landing page.

            12. Click on the file name in the log and view the details of the log.

            13. Click on the "Created" hotlink in the Instance column. Copy instance HRID from 001 field.

            14. Open the other two attached MARC files in MARCedit:

        • oneMarcBib-Rev1-Protect.mrc
        • oneMarcBib-Rev2-Override.mrc
          Paste the Instance HRID into the 001 field, then recompile the records into .mrc files.

            15. Import the first update file, named oneMarcBib-Rev1-Protect.mrc, using the job profile named MARC Bib with protections.

            16. Import the second update file, named   oneMarcBib-Rev1-Override.mrc{},{} using the job profile named  MARC Bib with protection OVERRIDES.

            17. Click on the file name and review the log details.

            18. Pay attention on the instance status. 

      Expected Results: The status of Instance is updated on the individual logs after uploading MARC file for update .

      Actual Results: The status of Instance is Discarded in the Import log after uploading MARC file for update.

      TestRail: Results

        Attachments

          1. mod-inventory.log
            5.89 MB
          2. mod-source-record-storage.log
            5.45 MB
          3. Screenshot_22.png
            Screenshot_22.png
            200 kB
          4. Screenshot_23.png
            Screenshot_23.png
            57 kB
          5. Screenshot_24.png
            Screenshot_24.png
            249 kB
          6. Screenshot_3.png
            Screenshot_3.png
            60 kB
          7. Screenshot 2023-02-14 at 15.43.28.png
            Screenshot 2023-02-14 at 15.43.28.png
            282 kB
          8. Screenshot 2023-02-14 at 15.43.52.png
            Screenshot 2023-02-14 at 15.43.52.png
            281 kB
          9. Screenshot 2023-02-14 at 15.43.52-1.png
            Screenshot 2023-02-14 at 15.43.52-1.png
            281 kB

          Issue Links

            Activity

              People

                Kateryna Senchenko Kateryna Senchenko
                tetiana_paranich@epam.com Tetiana Paranich
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases