Skip to content

fix: preserve variable splitting result details#6386

Open
zhonggang666 wants to merge 1 commit into
1Panel-dev:v2from
zhonggang666:codex/fix-6377-variable-splitting-result-field
Open

fix: preserve variable splitting result details#6386
zhonggang666 wants to merge 1 commit into
1Panel-dev:v2from
zhonggang666:codex/fix-6377-variable-splitting-result-field

Conversation

@zhonggang666

Copy link
Copy Markdown
Contributor

Summary

  • Preserve the full variable splitting result map for execution details.
  • Keep existing runtime references working when an output field is named result.
  • Restore previous variable outputs from the saved result map when continuing a workflow from a form node.

Root cause

Variable splitting returned {'result': response, **response}. If a split output field was also named result, it overwrote the internal result map with a scalar string. Continuing a later form then restored the node and called .items() on that string.

Validation

  • python -m py_compile apps\application\flow\step_node\variable_splitting_node\impl\base_variable_splitting_node.py
  • git diff --check
  • Local equivalent dictionary-collision check for a split field named result

Fixes #6377

@zhonggang666 zhonggang666 marked this pull request as ready for review July 9, 2026 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] 版本2.10.3 工作流中 有多个表单收集 执行到 第二个表单时,报错,且无法查看执行详情

1 participant