Skip to content

Commit

Permalink
Merge pull request #335 from holashchand/issue-1033
Browse files Browse the repository at this point in the history
[BUG]: Fixed hard delete not working for redundant entity properties
  • Loading branch information
challabeehyv authored Jun 24, 2024
2 parents a777b32 + 52ff6e0 commit e8348ce
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 e8348ce

Please sign in to comment.