Skip to content

Commit

Permalink
Fixed hard delete not working for redundant entity properties
Browse files Browse the repository at this point in the history
  • Loading branch information
holashchand committed Jun 21, 2024
1 parent 9c09f34 commit 52ff6e0
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,11 @@ private void doDelete(IRegistryDao registryDao, VertexReader vr, Set<String> pre
itemUuid = ArrayHelper.unquoteString(itemUuid);
if (!updatedUuids.contains(itemUuid)) {
// delete this item
registryDao.deleteEntity(uuidVertexMap.get(itemUuid));
if(isHardDeleteEnabled) {
registryDao.hardDeleteEntity(uuidVertexMap.get(itemUuid));
} else {
registryDao.deleteEntity(uuidVertexMap.get(itemUuid));
}
}
}
}
Expand Down

0 comments on commit 52ff6e0

Please sign in to comment.