Done
Details
Assignee
Viacheslav KolesnykViacheslav KolesnykReporter
Valery_PilkoValery_PilkoLabels
Priority
P2Story Points
2Sprint
NoneDevelopment Team
SpitfireFix versions
Release
Poppy (R2 2023)RCA Group
Implementation coding issueAffected releases
Poppy (R2 2023)TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Viacheslav Kolesnyk
Viacheslav KolesnykReporter
Valery_Pilko
Valery_PilkoLabels
Priority
Story Points
2
Sprint
None
Development Team
Spitfire
Fix versions
Release
Poppy (R2 2023)
RCA Group
Implementation coding issue
Affected releases
Poppy (R2 2023)
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created April 11, 2023 at 9:52 AM
Updated October 11, 2023 at 7:41 PM
Resolved April 15, 2023 at 1:14 PM
Overview: Update of "MARC Bib" record completed with following error:
"io.vertx.core.json.DecodeException: Failed to decode:Cannot deserialize value of type `java.util.ArrayList<java.lang.Object>` from Object value (token `JsonToken.START_OBJECT`) at [Source: (String)"[{"id":1,"bibField":"100","authorityField":"100","authoritySubfields":["a","b","c","d","j","q"],"validation":{"existence":[
{"t":false}
]}},{"id":2,"bibField":"110","authorityField":"110","authoritySubfields":["a","b","c"],"validation":{"existence":[
{"t":false}
]}},{"id":3,"bibField":"111","authorityField":"111","authoritySubfields":["a","c","e","q"],"validation":{"existence":[
{"t":false}
]}},{"id":4,"bibField":"130","authorityField":"130","authoritySubfields":["a","d","f","g","h","k","l","m","n","o"[truncated 2519 chars]; line: 1, column: 124] (through reference chain: java.lang.Object[][0]>org.folio.LinkingRuleDto["validation"]>org.folio.Validation["existence"]->java.util.ArrayList[0])"
Steps to Reproduce:
The job profile should be created for "Data import" app: " Update MARC Bib records by matching 999 ff $s subfield value ":
Log into Snapshot FOLIO environment as User with following permissions:
Data import: Can upload files, import, and view logs
Inventory: All permissions
MARC Authority: View MARC authority record
quickMARC: Can Link/unlink authority records to bib records
quickMARC: View, edit MARC bibliographic record
UI: Data export module is enabled
Go to "Inventory" app
Find imported "MARC bib" record.
Check the checkbox that is displayed next to the "Instance" record
Click on the "Actions" button on the second pane and select "Export Instances (MARC)" option.
Go to "Data export" app >>Download exported ".mrc" file by clicking on the "File name" column value.
Open downloaded ".mrc" file via "MarcEdit" and make some changes, ex.:
Edit "100" field
Edit "245" field
Save the edited ".mrc" file.
Go to "Data import" app and import edited "MARC Bib" record using created "Update MARC Bib records by matching 999 ff $s subfield value" job profile.
Expected Results:
Update job completed successfully.
Existing "MARC Bib" record successfully updated according to changes user made.
Actual Results:
Update job completed with error (see error on Overview).
Additional Information:
1) "Overlay source bibliographic record" also affected.
2) see attached screencast:
Interested parties: