Airflow UI ignoring extra connection field during test connection #32890
Labels
affected_version:2.6
Issues Reported for 2.6
area:core
area:UI
Related to UI/UX. For Frontend Developers.
good first issue
kind:bug
This is a clearly a bug
Apache Airflow version
Other Airflow 2 version (please specify below)
What happened
In Airflow 2.6.1 I can no longer use the
extra
field in anyhttp
based connection when testing the connection.Inspecting the web request for testing the connection I see that the
extra
field is empty, even though I have data in there:I saw this issue which seems related. It was closed because the opener worked around the issue by creating the connection in code instead of the Airflow UI.
I couldn't find any other issues mentioning this problem.
What you think should happen instead
The
extra
field should be included in the test connection request.How to reproduce
Create an
http
connection in the Airflow UI using at least version 2.6.1. Put any value in theextra
field and test the connection while inspecting the network request. Notice that theextra
field value is not supplied in the request.Operating System
N/A
Versions of Apache Airflow Providers
N/A
Deployment
Astronomer
Deployment details
No response
Anything else
If I had to guess, I think it might be related to this PR where a json linter was added to the extra field.
Saving the connection seems to work fine, just not testing it.
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: