Record matches are not decreased when additional match conditions are added to a job profile (Lotus Bugfix)

Description

Overview: I would expect that when I have two match profiles for instances in a job profile, that the second match profile would narrow the selection from the first match, but this does not seem to happen

Current workaround:

No workaround other than deleting data or doing matching outside folio

Steps to Reproduce:

  1. Log into kiwi bugfest

  2. Create a job profile that has two match profiles for instances that should result in the selection of singular records when taken together

  3. Import a file that has a record that will meet your match conditions

Expected Results: The singular record that meets the combined conditions is updated

Actual Results: Multiple records are selected and the update fails seemingly because the conditions are not combined. In my samples I tried combining OCLC number and ISBN in one profile and OCLC number and suppression status in one profile. On Cornell's tenant I was trying to combine OCLC number and a custom identifier. This is used because two records could have the same OCLC number but be in different collections.

Additional Information: Profile samples: https://bugfest-kiwi.folio.ebsco.com/settings/data-import/job-profiles/view/9bffc0fa-0c83-472b-ab6c-d134c940c661?sort=name

 

https://bugfest-kiwi.folio.ebsco.com/settings/data-import/job-profiles/view/431ee418-7126-4c23-9847-398f0d022580?sort=name

 

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

4

Checklist

hide

TestRail: Results

Activity

Show:

Jenn Colt April 11, 2022 at 4:38 PM

Awesome this will be extremely helpful for us!!

Ann-Marie Breaux April 11, 2022 at 4:19 PM

Hi Working on it now

I just created this job profile using a static match, instead of true/false data in the MARC record, and it worked great!

Job profile: https://bugfest-lotus.int.aws.folio.org/settings/data-import/job-profiles/view/0979e752-2ed2-4ed1-8d96-531e233fbfbc?query=suppress&sort=name
Static Match profile: https://bugfest-lotus.int.aws.folio.org/settings/data-import/match-profiles/view/41b85df3-50f4-4717-85f7-0d20acc8891f?sort=name
Lotus BF Import job number: 8438

Oleksandr Bashtynskyi April 11, 2022 at 9:02 AM

please add test cases into the TestRail for this bug. This needs to not lose a track of this issue in the future. Thank you

Ann-Marie Breaux April 6, 2022 at 8:44 AM

Hi

Tested on Lotus Bugfest using this profile: https://bugfest-lotus.int.aws.folio.org/settings/data-import/job-profiles/view/b5e24e32-b399-4c8f-a8d9-b9adc1dc81cd?query=modinv&sort=name and the Neuromancer record.

  1. Make sure there are several instances with the same OCLC number, and that only 1 of them is marked Suppressed from discovery

    • Create a job profile

    • Match 1: OCLC number

    • Match 2: 951$a = Instance suppress from discovery (MARC value was true)

    • Update instance with a new statistical code

  2. Import the Neuromancer file (make sure 951 $a true)

  3. Check the log to be sure 1 instance was updated

  4. Doublecheck in Inventory by searching on the OCLC number and title

Closing this issue. Add Lotus and Kiwi release notes to explain the matching situation (don't start with a large match, e.g. all instances suppressed from discovery)

Ann-Marie Breaux March 21, 2022 at 9:19 AM

Moved to Awaiting release. Will add release note to remind users to use more restrictive match at top of hierarchy. will also create separate Morning Glory issue, so that we can link to MG feature and release version.

Done

Details

Assignee

Reporter

Priority

Story Points

Development Team

Folijet Support

Fix versions

Release

Lotus (R1 2022) Bug Fix

RCA Group

Requirements change

Affected Institution

Cornell
Spokane Public Libraries
University of Chicago

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created December 14, 2021 at 3:53 PM
Updated April 4, 2023 at 8:27 PM
Resolved March 21, 2022 at 9:19 AM
TestRail: Cases
TestRail: Runs