Details
-
Bug
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Won't Do
-
None
-
None
-
0
-
Spitfire
Description
Overview:
Failed to process Holdings record while importing MARC Holdings.
Steps to Reproduce:
- Import MARC Holdings
- Wait for import finished
- Check that the Holdings record is imported.
Expected Results: Import successfull
Actual Results: Error message on Holdings tab: io.vertx.core.impl.NoStackTraceThrowable: Can`t map json to 'Holdingsrecord' entity
Additional Information:
Logs from mod-inventory:
1:54:58 [] [] [] [] INFO taImportKafkaHandler Data import event payload has been received with event type: DI_SRS_MARC_HOLDING_RECORD_CREATED, recordId: 99929126-66a7-4836-b99e-d7a37b35ec74 11:54:58 [] [] [] [] INFO ProfileSnapshotCache JobProfileSnapshot was loaded by id 'ba65515d-7bee-4e79-a3d6-1d0ae2046b4e' 11:54:58 [] [] [] [] INFO MappingMetadataCache MappingMetadata was loaded by jobExecutionId '40c53f15-7747-4b64-8a80-46670abaad36' 11:54:59 [] [] [] [] ERROR ingsRecordCollection com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "administrativeNotes" (class org.folio.HoldingsRecord), not marked as ignorable (36 known properties: "electronicAccess", "notes", "holdingsStatementsForSupplements", "formerIds", "receiptStatus", "acquisitionMethod", "instanceId", "holdingsStatements", "sourceId", "_version", "id", "callNumberTypeId", "copyNumber", "numberOfItems", "temporaryLocationId", "acquisitionFormat", "hrid", "digitizationPolicy", "holdingsStatementsForIndexes", "metadata", "retentionPolicy", "illPolicyId", "effectiveLocationId", "callNumberSuffix", "callNumberPrefix", "permanentLocationId", "discoverySuppress", "callNumber", "shelvingTitle", "receivingHistory", "tags", "holdingsTypeId", "bareHoldingsItems", "statisticalCodeIds", "holdingsItems", "holdingsInstance"]) at [Source: (String)"{"id":"99929126-66a7-4836-b99e-d7a37b35ec74","_version":1,"hrid":"ho00000000012","holdingsTypeId":"03c9c400-b9e3-4a07-ac0e-05ab470233ed","formerIds":["10245123"],"instanceId":"4126cb6d-60bd-4330-8a14-23048ca44e0b","permanentLocationId":"184aae84-a5bf-4c6a-85ba-4a7c73026cd5","effectiveLocationId":"184aae84-a5bf-4c6a-85ba-4a7c73026cd5","electronicAccess":[],"callNumber":"N7433.3 .B87 2014","administrativeNotes":[],"notes":[],"holdingsStatements":[],"holdingsStatementsForIndexes":[],"holdingsStatem"[truncated 358 chars]; line: 1, column: 415] (through reference chain: org.folio.HoldingsRecord["administrativeNotes"]) 11:54:59 [] [] [] [] ERROR rageModuleCollection org.folio.inventory.validation.exceptions.JsonMappingException: Can`t map json to 'Holdingsrecord' entity 11:54:59 [] [] [] [] ERROR HoldingsEventHandler Error posting Holdings cause Can`t map json to 'Holdingsrecord' entity, status code 201 11:54:59 [] [] [] [] ERROR HoldingsEventHandler Can`t save new holding io.vertx.core.impl.NoStackTraceThrowable: Can`t map json to 'Holdingsrecord' entity