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

Using the same parameter name in a thread can cause values to be lost #908

Open
joningold opened this issue Jul 15, 2024 · 0 comments
Open
Labels

Comments

@joningold
Copy link
Member

In the following structure, the use of the same parameter name ("-> knot") causes an issue. When the choice inside "level two" is selected, and the flow loops back into level_one.opt, the value of the first "knot" parameter is overwritten with value from the level two knot.

If the parameters are given different names, then the bug doesn't occur.

- (top) 
    ->  level_one (-> end ) 
- (end)
    -> END 

=== level_one (-> knot) 
- (opt)
    <- level_two(-> opt) 
    *   [ Knot variable is {knot} ] -> knot
    
=== level_two(-> knot) 
    *   [ choosing this causes the "knot" variable to change value  ]
        -> knot 
@joningold joningold added the bug label Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant