fix: align mechanical dynamic port validation

This commit is contained in:
huojiarong committed 2026-08-15 12:57:03 +00:00
1 parent 6a064892e2
commit 4e0b9fd8cc
7 files changed
+105 -7

No files matched your search

+1 -1
View File
@@ -1089,7 +1089,7 @@ def build_reactflow_system_xml(project: ReactFlowProjectPayload) -> bytes:
"modelVersion": node.data.modelVersion or "",
},
)
for port_definition in component_spec.ports:
for port_definition in component_spec.active_ports(parameter_values):
port_key = (node.id, port_definition.name)
if port_key in port_index:
raise ValueError(