diff --git a/apps/assets/models/node.py b/apps/assets/models/node.py index f8d5f9691..841fd2487 100644 --- a/apps/assets/models/node.py +++ b/apps/assets/models/node.py @@ -493,7 +493,7 @@ class Node(OrgModelMixin, SomeNodesMixin, FamilyMixin, NodeAssetsMixin): nodes_mapper = {n.key: n for n in nodes_sorted} for node in nodes_sorted: parent = nodes_mapper.get(node.parent_key) - if not parent: + if not parent and node.parent_key: logger.error(f'Node parent node in mapper: {node.parent_key} {node.value}') continue node.full_value = parent.full_value + '/' + node.value