You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[bug]: For loop over an empty Iterate item fails with NodeInputError #9819
main at aa46003 (7.0.0-alpha.2-post); also on #9789
What happened
Feed each item of an Iterate into a For loop's collection. If any item is an empty list, the session fails with NodeInputError: Node … has invalid incoming input for a when the loop body runs. No If is involved.
What you expected to happen
The empty item's For should run zero iterations and give an empty output_collection. The non-empty items should run normally. Here the result should be [[11, 12], []].
Resolved in PR #9843. Empty inner collections now produce empty For results without scheduling a body invocation. Regression coverage checks an Iterate feeding [ [1, 2], [] ] into For and completion on both scheduler paths.
Activity
JPPhoto commentedon Oct 18, 2026
Resolved in PR #9843. Empty inner collections now produce empty For results without scheduling a body invocation. Regression coverage checks an Iterate feeding [ [1, 2], [] ] into For and completion on both scheduler paths.