Skip to content

Commit

Permalink
Merge branch 'master' into MODINV-1080
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanChernetskyi authored Oct 3, 2024
2 parents 9fd2404 + 5c6cc7a commit 041c355
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/org/folio/inventory/resources/Instances.java
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 041c355

Please sign in to comment.