Done
Details
Assignee
Maksym IshchenkoMaksym IshchenkoReporter
Corrie HutchinsonCorrie HutchinsonPriority
P3Story Points
0Sprint
NoneDevelopment Team
FolijetFix versions
Release
Poppy (R2 2023)RCA Group
Implementation coding issueAffected releases
Orchid (R1 2023)Nolana (R3 2022)Affected Institution
!!!ALL!!!TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Maksym Ishchenko
Maksym IshchenkoReporter
Corrie Hutchinson
Corrie HutchinsonPriority
Story Points
0
Sprint
None
Development Team
Folijet
Fix versions
Release
Poppy (R2 2023)
RCA Group
Implementation coding issue
Affected releases
Orchid (R1 2023)
Nolana (R3 2022)
Affected Institution
!!!ALL!!!
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created May 3, 2023 at 3:44 PM
Updated January 23, 2024 at 9:57 AM
Resolved September 25, 2023 at 1:55 PM
Review these 3 issues together at refinement: UIDATIMP-1516, UIDATIMP-1384, MODINV-809
Overview: When either updating a holdings record or creating a new one via Data Import, if the incoming MARC record does not contain a field being used to map a Holdings note then it creates an empty one. Considering that the UI does not allow any Holdings note to be created where the 'Note' field is blank, I'm labeling this a bug.
Steps to Reproduce (Updates):
Log into bugfest-orchid
Need a job profile that updates a holdings record by adding a Holdings note
Can use the job profile I created for testing = Corrie test: updates holdings record with notes.
Create a new one:
Field mapping profile maps a MARC field (such as a 990$d) in the incoming record to a Holdings note (either 'electronic bookplate' or 'action note') in the Holdings record
Action profile Updates a holding record using the newly create field mapping profile
Match profile that uses the 999 to match on either Holdings HRID or UUID
Job profile that matches on the incoming 999 and implements the associated action profile that adds a Holdings note
Create a .mrc file of the MARC bibliographic record for the record which is meant to be updated. DO NOT include the field used in the Field mapping profile for the Holdings note. If the mapping profile used a 990$d, do not include the 990$d in the record (i.e. leave the subfield absent, not just blank).
Open Data Import and upload the file and apply the appropriate Job Profile.
Steps to Reproduce (Creates):
Login to bugfest-orchid
Similarly, I created job profiles that create a holdings record matching on the 999$i in the MARC bib of the incoming record: Corrie test: create holdings record with notes.
A new profile can also be created where the match is the Instance UUID or HRID, the action creates a new holdings record, and the field mapping profile maps the 990$d (for example) to a note in the Holdings record.
Open Data Import and upload a test file of a MARC bibliographic record (with NO 990$d) of an existing Instance/SRS in FOLIO. Process using the appropriate Job Profile.
Expected Results: In both scenarios, there should be no note in the Holdings record because there is no data to map.
Actual Results: A Holdings note has been added to the record with a blank 'Note' field.
Additional information: I tested both the 'Electronic bookplate', 'Action note', and 'Note' Note Type under Holdings notes. All 3 fields behaved the same in both folio-snapshot.dev and bugfest-orchid so I expect any Note Type behaves similarly.
Folijet: See attached videos. I tested all the free-text fields on the holdings and item records in Snapshot, by trying to create a new holdings and item, and mapping from 990 subfields for the holdings and from 991 subfields for the item. I had an error when creating the holdings.
The expected outcome should be:
For free text field (repeatable or non-repeatable): If MARC field/subfield does not exist, then do not create/populate that field in the holdings or item record
For free text field associated with a non-free text field (e.g. free-text note associated with a Note type, or URL associated with an Electronic access type, or with a Staff only checkbox), then do not populate any of the associated fields if there is no mapped data in the incoming record. This would apply to
Holdings:
Holdings notes (Note type, Note, Staff only)
Electronic access (Relationship, URI, Link text, Materials specified, URL public note)
Receiving history (Public display, Enumeration, Chronology)
Item
Item notes (Note type, Note, Staff only)
Check in / Check out (Note type, Note, Staff only)
Electronic access (Relationship, URI, Link text, Materials specified, URL public note)
Error message when using the profile outlined in the attached video:
See attached screenshot: UIDATIMP-1452 Create error message.png