Skip to content

Commit

Permalink
fix(bulk-model-sync-lib): do not attempt to remove properties that ar…
Browse files Browse the repository at this point in the history
…e null

Fixes: MODELIX-746
  • Loading branch information
mhuster23 committed Feb 20, 2024
1 parent a72dfc0 commit fcac1dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ class ModelImporter(

val toBeRemoved = node.getPropertyRoles().toSet()
.subtract(nodeData.properties.keys)
.filter { it != NodeData.idPropertyKey }
.filter { it != NodeData.idPropertyKey && node.getPropertyValue(it) != null }
toBeRemoved.forEach { node.setPropertyValue(it, null) }
}

Expand Down

0 comments on commit fcac1dd

Please sign in to comment.