-
Notifications
You must be signed in to change notification settings - Fork 39
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
GitHub connector: naming conflict with common variable names #1379
Comments
Yes, this is a known problem and has been experienced before in #1124 |
Here is a related zeebe issue that could solve this issue: camunda/camunda#11163 |
This would be super safe. However, until we have camunda/camunda#11163, Connectors team could simply prefix their internal variables, isn't it? (e.g., use |
Yes, it would reduce the probability but we would have to rewrite all connectors and request models and use underscores in our variables/json mappings. |
As discussed with the team in the grooming session, we would like to see proper local variable isolation support than introduce prefixes as this might either break existing element templates or wouldnt improvide the situation as the backwards compatibility would suffer from the same issues (input name like "body" could still be used in a different process variable) |
Describe the Bug
The GitHub Connector internally works with non-namespaced variables. Hence clashes can easily happen, which will create errors when trying to run the process.
Steps to Reproduce
issueNumber
=> I think if working with namespaced internal variables, the problem might be solved. E.g., use
connectors_issueNumber
Expected Behavior
I can use whatever process variable name, and the Connectors still work
Environment
SaaS as of 07.11.
The text was updated successfully, but these errors were encountered: