Missing data in one subfield excludes whole field from export with the custom mapping profile

Description

Overview:
When exporting inventory records with a custom mapping profile and one of the mapped subfields is not populated in the inventory record then the whole MARC field is omitted from export
Steps to Reproduce:
1. Create a custom mapping profile with following transformations:


2. Create a job profile linked to mapping profile from the previous step
3. Save UUID of a record that have a permanent and effective locations populated but does not have Volume in the item record populated (for example Nod in the snapshot environment)
4. Export record using the job profile from the step 2

Expected Results:
Exported file contains 866 and 946 fields populated with the available data. For example:
=866 \0$aLine 1b$zMain Library
=866 \0$aLine 2b$zMain Library
=946 \0$zMain Library$3hold000000000008

Actual Results:
946 field is missing.

Additional Information:
Populating volume information (even setting it to space) on the item record resolve the problem.
URL:
Interested parties:

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

8

Checklist

hide

TestRail: Results

Activity

Show:

Magda Zacharska January 12, 2022 at 9:59 PM

After talking with   I have confirmed that the expected behavior is as expected as 866 fields are mapped to holdings and not items records.

Magda Zacharska January 7, 2022 at 11:00 PM

when I was verifying this ticket, I added a new holding to the instance:


When I export the record with the mapping profile as described above, I'm getting 866 field repeated but it doesn't contain $3 as :

For more information about expected behavior with adding $3 please see: https://docs.google.com/document/d/1fZgB8zOCyRNGIc6IbKHF1tvtpMW7e_FQmMAiOrnxToI/edit?usp=sharing

Illia Daliek December 30, 2021 at 12:50 PM

Verified on snapshot

I imported an mrc file to have an instance for testing created.
I added the holding and item with an empty volume.
Instance id - f302514c-7d9b-4653-a8fc-c9bab0f20d2d

Created the same mapping profile.

Completed export

Exported marc record

Both effective location and holding hr id are presented.

Done

Details

Assignee

Reporter

Labels

Priority

Story Points

Sprint

Development Team

Firebird

Fix versions

Release

Lotus R1 2022

Affected Institution

Grand Valley State University

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created December 7, 2021 at 6:35 PM
Updated February 28, 2022 at 9:02 AM
Resolved January 12, 2022 at 9:59 PM
TestRail: Cases
TestRail: Runs