Details
-
Bug
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
None
-
None
-
-
Firebird - Sprint 149
-
3
-
Firebird
-
Nolana (R3 2022)
-
MI State University/Library of Michigan
-
TBD
Description
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
TestRail: Results
Attachments
Issue Links
- defines
-
UXPROD-3665 Firebird - Nolana R3 2022 Enhancements/Bugfixes/Tech Debt
-
- Closed
-
- relates to
-
FAT-3142 Review of C365624 Test Case
-
- Closed
-