The GitHub Actions job "Tests" on airflow.git/backport-bb8971d-v3-2-test has 
succeeded.
Run started by GitHub user vatsrahul1001 (triggered by vatsrahul1001).

Head commit for run:
af1222187a0df09f098758f511f9f6ef3b9e9f60 / Kaxil Naik <[email protected]>
[v3-2-test] Fix connection schema field not saved for providers without field 
behaviour (#65263)

When a provider (e.g. Oracle) does not define get_ui_field_behaviour(),
the API returns standard_fields: null. The convertStandardFields function
returned the raw default fields dict which uses `url_schema` as the key.
The form then registered a Controller named "url_schema" instead of
"schema", so user input never reached the schema field in the request body.

On create, schema defaulted to None. On edit, the extra url_schema key
caused a 422 from the StrictBaseModel extra="forbid" validation.

Remap url_schema to schema in the null branch, matching the non-null path.
(cherry picked from commit bb8971d4f83d7cb4ad862c5439bb195e573f585c)

Co-authored-by: Kaxil Naik <[email protected]>
Closes: #65257

Report URL: https://github.com/apache/airflow/actions/runs/24444583143

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to