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

Credential fields in nested sub-flows lose their value #2910

Closed
5 tasks done
rcarmo opened this issue Mar 24, 2021 · 2 comments
Closed
5 tasks done

Credential fields in nested sub-flows lose their value #2910

rcarmo opened this issue Mar 24, 2021 · 2 comments
Labels

Comments

@rcarmo
Copy link

rcarmo commented Mar 24, 2021

What are the steps to reproduce?

  • Create Sub-flow A, and add an environment variable with a "credential" input type.
  • Create Sub-flow B, and add an instance of Sub-flow A
  • Fill in the credential

What happens?

  • The credential input field for the instance of Sub-flow A inside sub-flow B goes blank (no 3-asterisk overlay)
  • The value disappears (env doesn't retrieve it)

What do you expect to happen?

Two things:

  • That the value did not vanish (both from an UI and code perspective)
  • That it was clearer how to add a credential-type input to sub-flows (right now you can click on the left-hand side of the input type and pick out credential, or you can pick just "input" and then click on the right-hand side of the input type and uncheck everything but credential - having both is extremely confusing).

This second point is best illustrated like so:

image

image

Please tell us about your environment:

  • Node-RED version: 1.2.9
  • Node.js version: 14.x (nodesource LTS)
  • npm version: what ships with the above
  • Platform/OS: Linux
  • Browser: Firefox, Safari, Edge (Mac)
@rcarmo
Copy link
Author

rcarmo commented Mar 24, 2021

Forgot to add that this all works fine with a plain string input.

@rcarmo
Copy link
Author

rcarmo commented Apr 6, 2021

Thanks!

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

2 participants