Done
Details
Assignee
Roman ChernetskyiRoman ChernetskyiReporter
Maksym IshchenkoMaksym IshchenkoPriority
P2Story Points
1Sprint
NoneDevelopment Team
FolijetFix versions
Release
Poppy (R2 2023) Bug FixRCA Group
Implementation coding issueAffected releases
Poppy (R2 2023)TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Roman Chernetskyi
Roman ChernetskyiReporter
Maksym Ishchenko
Maksym IshchenkoPriority
Story Points
1
Sprint
None
Development Team
Folijet
Fix versions
Release
Poppy (R2 2023) Bug Fix
RCA Group
Implementation coding issue
Affected releases
Poppy (R2 2023)
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created October 26, 2023 at 10:30 AM
Updated November 13, 2023 at 1:46 PM
Resolved November 6, 2023 at 8:27 AM
Overview: When you want to create an item connected to an existing holdings, you match to that holdings hrid and have an action to create item. If you try to create it Item will be errored with NullException in JSON log
Steps to Reproduce:
In Inventory, find or create an instance that has a holdings, but no item record
Go to Settings/Data Export
Create a new mapping
SRS and Holdings
Map Holdings HRID to 901$a
Map Holdings Id to 902$a
Create a new data export job linked to that mapping
Go to Settings/Data Import
Create a new field mapping for an item
Item mat type: Electronic resource
Loan type: Can circulate
Status: Available
Create a new action "Create item" linked to that item field mapping
Create a new match for 901$a to Holdings hrid
Create a new job with that match and on matches, Creates item record
Go to Inventory
Find or create a Source = MARC Instance with 1 holdings record and no item records
Copy that Instance HRID and search for it in Inventory, so that you have only 1 search result
Go to Actions/Save instance UUIDs
Go to Data Export
Upload the UUIDs text file that was just downloaded
Apply the export job profile created in step 4 and export the file
Download the newly-created MARC file
Go to Data Import
Upload that exported mrc file and select test job to create item
Expected Results: Item is created. No SRS and Instance records created
Actual Results:
Item is not created. {*}{{*}}NullException error appears in JSON log.