Done
Details
Assignee
Kyrylo ShulzhenkoKyrylo ShulzhenkoReporter
Ann-Marie BreauxAnn-Marie Breaux(Deactivated)Priority
P2Story Points
3Sprint
NoneDevelopment Team
FolijetFix versions
Release
Orchid (R1 2023) Bug FixRCA Group
Lack of testingTestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Kyrylo Shulzhenko
Kyrylo ShulzhenkoReporter
Ann-Marie Breaux
Ann-Marie Breaux(Deactivated)Priority
Story Points
3
Sprint
None
Development Team
Folijet
Fix versions
Release
Orchid (R1 2023) Bug Fix
RCA Group
Lack of testing
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created February 15, 2023 at 5:37 AM
Updated March 28, 2023 at 5:08 AM
Resolved March 13, 2023 at 7:28 PM
Overview:
1. If an order field mapping profile has a mapping for Product identifier that includes multiple MARC subfields, the resulting value in the POL needs to include all those subfields.
2. If an order fields mapping profile has a mapping for Product identifier, but that field does not exist in the incoming MARC record, then the Product identifier and the Product identifier type in the resulting POL should be blank (i.e. should not be created)
Current workaround: None, except users can manually edit the Product identifier data after POL creation
Steps to Reproduce:
Log into FOLIO-snapshot-load as diku_admin
Go to Settings/Data import/Field mapping profiles
Create and save the following field mapping profile
Name: Test multiple MARC subfield mappings
Incoming record type: MARC Bibliographic
FOLIO record type: Order
Purchase order status: "Pending"
Vendor: look up and assign GOBI
Title: 245$a " " 245$b " " 245$h
Contributors
Click the Add contributor button
Contributor: 100$a " " 100$c " " 100$q " " 100$d
Contributor type: Select "Personal name" from the dropdown list
Product identifiers
Click the Add product identifier button
Product ID: 028$a " " 028$b
Qualifier: [blank]
Product ID type: select "Publisher or distributor number" from the dropdown list
Acquisition method: Select any value from the dropdown list
Order format: Select "Physical resource" from the dropdown list
Receiving workflow: Select "Synchronized" from the dropdown list
Physical unit price: "1"
Quantity physical: "1"
Currency: Select "USD" from the dropdown list
Physical resource details/Create inventory: Select "None" from the dropdown list
Create an Action profile for creating orders and link to the above field mapping profile
Create a Job profile for creating orders and link to the above Action profile
Import the attached file Order multiple subfields.mrc
Click on the completed file name to view the log
Click on each "Created" link to view each POL
Check the Product identifier section of each POL
Expected Results:
1. If multiple subfields are mapped into the Product ID field, they should all display, with any default value in between, e.g. with a mapping of 028$a " " 028$b and a value of 028$a12345$btest, the POL's Product identifier should be 12345 test
2. If there is a MARC mapping for Product ID in the field mapping profile, but that MARC field/subfield does not exist in the incoming MARC record, neither the Product ID nor the Product ID type should be populated in the POL
Actual Results:
1. Sometimes 028$a and $b both populate into the same Product ID field (see record 3 - The dream of Jubal), sometimes they populate in different Product ID fields (see record 2 - The best of Ella), and sometimes the $b doesn't populate at all (see record 1 - Ella & Basie)
2. If there is no 028 field in the incoming MARC record, a Product ID field is created with a blank value and Product ID type of Publisher or distributor number (see records 4 - Colour-music and 5 - Henry and Emma)
Additional Information: See attached video and sample MARC file