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

The 'Discarded' status is displayed in the Instance column in the Import log after uploading MARC file for update

    XMLWordPrintable

Details

    • 0
    • Folijet
    • Orchid (R1 2023)
    • Not a bug

    Description

      Preconditions:

      1. User is logged into app as diku_admin.
      2. These two fields are created in the field protection settings:
        Field 920, Ind 1 *, Ind 2 *, Subfield *, Data *
        Field 507, Ind 1 *, Ind 2 *, Subfield *, Data *

      Steps to Reproduce:

      1. Go to Settings/Data import.
      2. Go to Field mapping profiles, create and save a new one 
        • FOLIO record type = Instance
        • No other mappings.
      1. Go to Action profiles, create and save a new one
        • Action: Create
        • FOLIO record type: Instance
        • Link the field mapping profile you just created.
      1. Go to Job profiles, create and save a new one
        • No match
        • Action: link the Action profile you just created.
      1. Upload the MARC file and import it using the job profile you just created.
      2. Update a copy of the MARC file that you just imported and save as a revised file
        • Change data in at least one unprotected field (e.g. add a 500 field, or change the title field slightly)
        • Change the data in some of the protected fields (e.g. 507 and 920 fields).
        • Update the 001 to the Instance HRID.
      1. Go back to Settings/Data import/Field mapping profiles, create, and save a field mapping profile with the following:
        • FOLIO record type: Instance
        • Add a Cataloged date, Instance status, and/or a Statistical code.
      1. Go to Action profiles, create, and save an action profile with the following:
        • Action: Update
        • FOLIO record type: Instance
        • Link the previously-created field mapping profile to this action profile.
      1. Go to Match profile, create, and save a match profile that will trigger the overlay of the SRS MARC and instance that were just created.
        • 001 to MARC 001 (if revised file is updated to include the Instance HRID in 001)
      1. Go to Job profiles, create and save a new one
        • Match: the match profile that was just created
        • If match: the update instance profile that was just created.
      1. Import the revised file.
      2. Pay attention on the instance status on the logs page. 

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

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

      Additional Information: See attached screenshot.

      TestRail: Results

        Attachments

          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