fix(core): Handle connections for missing nodes in a workflow (#13362)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2025-02-19 16:56:44 +01:00
committed by GitHub
parent 6ef9ae1862
commit 1e5feb195d
2 changed files with 29 additions and 1 deletions

View File

@@ -508,6 +508,9 @@ export class Workflow {
return;
}
// Ignore connections for nodes that don't exist in this workflow
if (!(connection.node in this.nodes)) return;
addNodes = this.getHighestNode(connection.node, undefined, checkedNodes);
if (addNodes.length === 0) {