Skip to content

Conversation

@RonnyChan96
Copy link
Contributor

Fixes an issue where renaming a ConnectorProvider would break connected lines:

  • Added prevNameRef to detect name changes
  • Auto-updates direction.key and line references
  • Preserves existing connections

Test:

  1. Change a connector's name
  2. Verify lines remain connected and references update

@RonnyChan96
Copy link
Contributor Author

@CodeCasterX 请关联#41

@RonnyChan96 RonnyChan96 changed the title fix(ConnectorProvider): Sync connector name changes with connected lines (fixes #41) fix(ConnectorProvider): Sync connector name changes with connected lines (fixes https://github.com/ModelEngine-Group/fit-framework/issues/41) May 17, 2025
@RonnyChan96 RonnyChan96 changed the title fix(ConnectorProvider): Sync connector name changes with connected lines (fixes https://github.com/ModelEngine-Group/fit-framework/issues/41) fix(ConnectorProvider): Sync connector name changes with connected lines (fixes #41) May 17, 2025
@RonnyChan96 RonnyChan96 self-assigned this May 17, 2025
@RonnyChan96 RonnyChan96 requested review from a team, CodeCasterX and wjn1584 May 17, 2025 08:13
@RonnyChan96 RonnyChan96 added type: bug A general bug in: elsa Issues in Elsa modules labels May 17, 2025
@CodeCasterX CodeCasterX added this to Nova May 18, 2025
@CodeCasterX CodeCasterX modified the milestones: 3.5.0, elsa 0.1.x, elsa 0.2.0 May 18, 2025
@CodeCasterX CodeCasterX added this to the elsa 0.1.2 milestone May 19, 2025
@CodeCasterX CodeCasterX merged commit 5be0e6b into ModelEngine-Group:elsa-0.1.x May 20, 2025
1 check passed
@github-project-automation github-project-automation bot moved this to Done in Nova May 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in: elsa Issues in Elsa modules type: bug A general bug

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

条件节点多分支连线后,删除分支再添加分支,重新运行会出现运行结果错乱的情况

3 participants