You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/01/28 15:19:48 UTC
[GitHub] [airflow] josh-fell opened a new issue #21188: "Test Connection" functionality in the UI doesn't consider custom form fields
josh-fell opened a new issue #21188:
URL: https://github.com/apache/airflow/issues/21188
### Apache Airflow version
main (development)
### What happened
When creating a connection to Snowflake in the Airflow UI, I was hoping to test the connection prior to saving the connection. Unfortunately when I click on the Test button I receive the following error despite all fields in the connection form (especially Account) are provided.

However, when I specify the connection parameters directly in the Extra field, the connection test is successful.

### What you expected to happen
I would have expected that I could use the custom fields in the connection form to test the connection. While using the Extra field is a workaround for the Snowflake connection type, not all custom connection forms expose the Extra field (e.g. Azure Data Factory, Salesforce, etc.) which makes this workaround impossible when testing in the UI.
### How to reproduce
- Attempt to create a Snowflake connection (or other connection types that have the `test_connection() method implemented which use custom fields for authentication).
- Click the Test button in the UI.
### Operating System
Debian GNU/Linux 10 (buster
### Versions of Apache Airflow Providers
N/A - using `main` branch.
### Deployment
Other
### Deployment details
Testing with `main` using Breeze.
### Anything else
_No response_
### Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk closed issue #21188: "Test Connection" functionality in the UI doesn't consider custom form fields
Posted by GitBox <gi...@apache.org>.
potiuk closed issue #21188:
URL: https://github.com/apache/airflow/issues/21188
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org