Holdings record created via MARC Bib Data Import shows incorrect source - KIWI

Description

Overview: When a holdings is created from a MARC Bib Data Import, it shows source = MARC instead of source = FOLIO. MARC Holdings should only show source = MARC when there is a linked MARC Holdings record in SRS

Steps to Reproduce:

  1. Log into folio-snapshot-load

  2. Go to Settings/Data Import and create the following profiles:

    • Field mapping profile:

      • Create holdings

      • Select any location code as permanent location

    • Action profile

      • Create holdings

      • Link the above field mapping profile to it

    • Job profile

      • Create instance and holdings

      • No match profile

      • Link the Default - Create Instance action profile

      • Then link the Create Holdings profile that you just created

  3. Import a small MARC Bib file (one is attached)

  4. Once the import completes, find one of the newly created instances in Inventory

  5. Open the holdings that was created on that instance

  6. Click the Source field

Expected Results: Since the holdings was created by a MARC Bib, not a MARC Holdings, the source = FOLIO

Actual Results: The source = MARC

Additional Information: See attached video and screenshot

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

9

Checklist

hide

TestRail: Results

Activity

Show:

Ann-Marie Breaux November 3, 2021 at 8:12 AM

Thanks very much, Tested again on Kiwi Bugfest. All looks fine for Holdings created from MARC Bib records (Holdings source = FOLIO). I've asked Khalilah to doublecheck Holdings created from MARC Holdings records (Holdings source = MARC). Assuming they look OK, we should be all set.

Carole Godfrey November 2, 2021 at 9:04 PM

Added source with specific UUID, adjusted references to use specific UUID – please take a look   

Ann-Marie Breaux November 2, 2021 at 6:42 PM

Hi Thank you very much for explaining it. This is definitely similar to the situation described in . I'll check with Charlotte and Marc J about whether those 2 sources (FOLIO and MARC) can be hardcoded as Inventory reference values, hopefully as a Kiwi bugfix. And we'll definitely add a release note

In the meantime, is it something that you (or someone else) can adjust manually on Kiwi Bugfest. And more importantly, if you add or change a Source reference data value, wil that break anything anyplace else?

Thank you, and apologies for still more questions!

Carole Godfrey November 2, 2021 at 5:00 PM

Hi
As I understand
This is similar to https://folio-org.atlassian.net/browse/UIDATIMP-1022 
This functionality does not work unless very specific UUIDs are configured as part of inventory reference data – 
Looks like FOLIO was added via the UI with a different UUID - we now need to look into references and correct – before we can delete and add the  specific UUID associated to FOLIO.  

There is a general issue/concern on reference data and upgrades - this is mandatory data and should be present (not something that can optionally be available)

In interim – I suggest adding to release note or making it mandatory module data

https://folio-org.atlassian.net/browse/FOLIO-3215

https://folio-org.atlassian.net/wiki/display/TC/Improved+Handling+of+Reference+Data+During+Upgrades

Ann-Marie Breaux November 2, 2021 at 3:53 PM

Hi When you get a few minutes, could you review the last few comments here? I think the Kiwi Bugfest environment's Inventory reference data for Source might need updating. For Instances and Holdings, the Source options are 1) FOLIO and 2) MARC. These correspond to UUIDs behind the scenes (I think). When I test this fix on Kiwi Bugfest, it's erroring, but it's working properly on the hosted ref envs.

Done

Details

Assignee

Reporter

Priority

Story Points

Development Team

Folijet Support

Fix versions

Release

R3 2021 Bug Fix

RCA Group

Data related (ex. Can be detected with large dataset only)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created August 26, 2021 at 12:37 PM
Updated December 9, 2022 at 5:38 AM
Resolved October 25, 2021 at 6:02 AM
TestRail: Cases
TestRail: Runs