Skip to content

fix(core): ui connection test with null host and port - #72348

Open
Pedrinhonitz wants to merge 8 commits into
apache:mainfrom
Pedrinhonitz:main
Open

fix(core): ui connection test with null host and port #72348
Pedrinhonitz wants to merge 8 commits into
apache:mainfrom
Pedrinhonitz:main

Conversation

@Pedrinhonitz

Copy link
Copy Markdown
Contributor

Resume

Fixes #72318. In the UI's "Test Connection" feature, unused host/port fields were stored as NULL (None) in the database, while the UI sent an empty string (""). This discrepancy caused the system to treat it as a new destination, skip the password/extra merge, and pass private_key_file="***" to the hook. Now, blank host/port fields are treated as the same destination, and *** is not considered a new credential.


Issues


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

Generated-by: Cursor IA IDLE following the guidelines , to assist with understanding and documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test Connection API discards saved credentials (unmasks fails) for connection types without host/port (e.g. Snowflake)

1 participant