MARC record with a 100 tag without a $a is being discarded on import.

Description

Overview: When importing a record with a 100 tag that does not have a $a, the record is being discarded with an error.

Current workaround:

Steps to Reproduce:

  1. Log into FOLIO-snapshot as diku_admin

  2. Use the Default - Create instance and SRS import profile.

  3. Import any marc record that has a 100 tag but no $a, e.g., 100 
    $4aut.

  4. Etc

Expected Results: The record creates without mapping the 100 tag to the contributor field.

Actual Results: The record is discarded by the import and the following error message is provided.

io.vertx.core.impl.NoStackTraceThrowable: {"errors":[{"message":"must not be null","type":"1","code":"javax.validation.constraints.NotNull.message","parameters":[

{"key":"contributors[0].name","value":"null"}

]}]}

 

Additional Information: See data import lab session recording from 10/5/2023.

Interested parties:  

BE notes:
1. apply 

for fields that need to contain a value for Contributors to be added for the mapped entity. See details https://github.com/folio-org/mod-source-record-manager/blob/master/RuleProcessorApi.md#required-sub-fields

2. Consider adding test in data-import-processing-core

3. Script to update rules will be added in scope of MODSOURMAN-1086

, Please finalize list of fields and subfields to contain this "required" condition - 100, 110, 111, 700, 710, 711, 720? Should we add it for 245 field as well?

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

2

Checklist

hide

TestRail: Results

Activity

Show:

Ann-Marie BreauxDecember 11, 2023 at 4:38 AM

Tested on Snapshot using attached file with 100, 110, and 111 with no $a. All looks fine. Created a TestRail. Closing this issue.

Ann-Marie BreauxOctober 25, 2023 at 1:57 PM

Per , mark 100$a, 110$a, 111$a as required fields for backend. Also check to see what happens when 245 contains $b, but no $a

Christie ThomasOctober 5, 2023 at 7:45 PM

 

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Folijet

Fix versions

Release

Quesnelia (R1 2024)

RCA Group

Incomplete/missing requirements

Affected releases

Poppy (R2 2023)
Orchid (R1 2023)

Affected Institution

!!!ALL!!!

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created October 5, 2023 at 7:43 PM
Updated January 21, 2025 at 5:21 PM
Resolved December 11, 2023 at 4:38 AM
TestRail: Cases
TestRail: Runs