You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Project Settings dialog allows a user to set the name of the flow file. It does not let the user the credentials file name. That was intentional to help prevent the user accidentally using the wrong flow/credential file combination.
It is perfectly valid for a user to have set a different credential file name by hand editing the project's package.json file. The runtime handles this properly and uses the identified files.
When you edit the settings of such a project, the Credentials field does not show the customised one - it is set to the name derived from the flow file. If a user edits the flow file name, the credentials file name is reset to match.
What are the steps to reproduce?
create a project
hand edit its package.json to point to a different credentials file
restart node-red (or open the project)
open the project settings dialog - the wrong creds file is listed
edit the flow file name and hit save - the creds file is reset to the derived name
What do you expect to happen?
the creds field should show the true value, not the derived value.
allow the user to explicitly set the creds filename - but we do want to retain some of the auto-fill behaviour we have today so they don't have to set the creds filename.
Activity