Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When removing a switch rule the outputs changes #11587

Closed
woodsbox opened this issue Nov 6, 2024 · 2 comments · Fixed by #11162
Closed

When removing a switch rule the outputs changes #11587

woodsbox opened this issue Nov 6, 2024 · 2 comments · Fixed by #11162
Labels
in linear Issue or PR has been created in Linear for internal review Released

Comments

@woodsbox
Copy link

woodsbox commented Nov 6, 2024

Bug Description

Hi!

I deleted a switch rule and all the outputs are changed.

To Reproduce

When you create a switch with say for example 3 outputs, pointing to different nodes say output 1 pointing to node 1 etc etc. When I remove for example the first rule leaving only rule 2 and 3 the output changes so output 1 is removed but output 2 is pointing then to node 1 and output 3 is pointing to node 2 and there is a new output created.

Expected behavior

I would expect when I remove rule 1 the output 1 is removed and output 2 and 3 stay connected to node 2 and 3.

Operating System

docker compose

n8n Version

1.65.2

Node.js Version

?

Database

SQLite (default)

Execution mode

main (default)

@Joffcom
Copy link
Member

Joffcom commented Nov 6, 2024

Hey @woodsbox,

We have created an internal ticket to look into this which we will be tracking as "GHC-398"

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label Nov 6, 2024
@janober
Copy link
Member

janober commented Nov 13, 2024

Fix got released with [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in linear Issue or PR has been created in Linear for internal review Released
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants