From 1003e64b746f0e9a7f70104142b51d4831a6846b Mon Sep 17 00:00:00 2001 From: lucio lelii Date: Tue, 22 Nov 2022 17:56:23 +0100 Subject: [PATCH] changes --- src/main/java/MongoToMinioPorting.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/MongoToMinioPorting.java b/src/main/java/MongoToMinioPorting.java index 8c96be6..49ac851 100644 --- a/src/main/java/MongoToMinioPorting.java +++ b/src/main/java/MongoToMinioPorting.java @@ -102,6 +102,8 @@ public class MongoToMinioPorting implements AbstractScript{ Content content = ((AbstractFileItem) item).getContent(); content.setPayloadBackend(info.getPayloadBackend()); + content.setStorageId(info.getStorageId()); + Node contentNode = ((Node) item.getRelatedNode()).getNode(NodeConstants.CONTENT_NAME); boolean canBeDeleted = true;