From 86fe29036dc1b655a612e8d171839b0dd2900238 Mon Sep 17 00:00:00 2001 From: siarhei-charniak Date: Tue, 1 Oct 2024 15:45:54 +0300 Subject: [PATCH] logs --- src/main/java/org/folio/inventory/resources/Instances.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/org/folio/inventory/resources/Instances.java b/src/main/java/org/folio/inventory/resources/Instances.java index 1aac7e013..26235c66a 100644 --- a/src/main/java/org/folio/inventory/resources/Instances.java +++ b/src/main/java/org/folio/inventory/resources/Instances.java @@ -279,6 +279,8 @@ private void updateInstance(Instance instance, RoutingContext rContext, WebConte private boolean areInstanceBlockedFieldsChanged(Instance existingInstance, Instance updatedInstance) { JsonObject existingInstanceJson = JsonObject.mapFrom(existingInstance); JsonObject updatedInstanceJson = JsonObject.mapFrom(updatedInstance); + log.info("Existing: {}", existingInstanceJson); + log.info("Updated: {}", updatedInstanceJson); // We still need zeroing "succeedingInstanceId" in precedingTitles and "precedingInstanceId" in succeedingTitles // because these fields are not provided for/from UI requests. We just ignore these fields on comparing as a blocked fields.