Done
Details
Assignee
Oleksandr BozhkoOleksandr BozhkoReporter
Ann-Marie BreauxAnn-Marie Breaux(Deactivated)Priority
P2Story Points
3Sprint
NoneDevelopment Team
FirebirdFix versions
Release
Nolana (R3 2022)RCA Group
TBDAffected Institution
MI State University/Library of MichiganTestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Oleksandr Bozhko
Oleksandr BozhkoReporter
Ann-Marie Breaux
Ann-Marie Breaux(Deactivated)Priority
Story Points
3
Sprint
None
Development Team
Firebird
Fix versions
Release
Nolana (R3 2022)
RCA Group
TBD
Affected Institution
MI State University/Library of Michigan
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created August 18, 2022 at 8:58 AM
Updated October 7, 2022 at 1:28 PM
Resolved September 29, 2022 at 9:45 PM
Overview:
When exporting a MARC Bib with holdings data for multiple holdings, if the holdings have different notes in them, the exported note data is not separated properly between the two 9xx fields. It might be worth checking for any similar issue with repeatable fields in the holdings record when there are multiple holdings being exported as data in a MARC Bib
Environment: This is happening in a Lotus HF1 environment, but reproduces in Snapshot
Steps to Reproduce:
Find an Instance in Inventory with Source = FOLIO, or else import one using Inventory Single Record Import or the default profile for creating a MARC Bib and Instance
View the Instance that was created in Inventory
Create a holdings on the Instance, with the following information
Permanent location: pick any location in the hosted ref envs (Main, Annex, etc.)
Add 2 notes in the holdings record
Note 1: pick a holdings note type from the dropdown list, add a note, and mark it Staff only
Note 2: pick a different holdings note type from the dropdown list, add a note, and DO NOT mark it Staff only
Save the new holdings record
Create another holdings record on the Instance, with the following information
Permanent location: pick any location in the hosted ref envs (Main, Annex, etc.), but it should be different from the location in the first holdings you created
Add 3 notes in the holdings record
Note 1: pick another different holdings note type from the dropdown list, add a note, and DO NOT mark it Staff only
Note 2: pick another different holdings note type from the dropdown list, add a note, and mark it Staff only
Note 3: pick another different holdings note type from the dropdown list, add a note, and DO NOT mark it Staff only
Save the new holdings record
Now you should have 2 holdings on the Instance
Each holdings has a different permanent location
Holdings 1 has 2 notes, each a different type, 1 marked as staff only, 1 not marked as staff only
Holdings 2 has 3 notes, each a different type from each other and from holdings 1, with 1 marked as staff only, and 2 not marked as staff only
So a total of 5 notes across the 2 holdings, each note a different type, with 2 marked as staff only, and 3 not marked as staff only
Go to Settings/Data export/Field mapping profiles, and create the following profile
Name: Holdings notes and HRID
Record type: Holdings, Source record storage (entire record)
Output format: MARC
Transformations
Holdings HRID: 900 $a
Then select the plain and staff version fields for each of the notes that you assigned to the holdings records, and put them in successive 900 subfields. See attached screenshot for an example
Save the field mapping profile
Go to Settings/Data export/Job profile, and create the following profile
Name: MARC Bib with Holdings HRID and Notes
Attach the field mapping profile created in the previous step
Save the job profile
Go to Inventory and find the Instance that was created
In the results list, go to Actions/Save instances UUIDs
Go to the Data export app and upload the delimited file of UUIDs
Select the job profile created above and run the export
Once the MARC file has been created, download it and view the 900 fields and their subfields
Expected results:
Two 900 fields in the MARC Bib, each with a different Holdings HRID and the 2 or 3 notes pertaining to that specific Holdings
Actual results:
Two 900 fields in the MARC Bib, with the correct HRIDs, but both displaying all 5 notes
Other: see attached video, screenshots, and exported MARC file from Snapshot, plus a few screenshots from Mich State's Lotus HF1 environment
Interested parties: