Skip to content

UI - Connection Form issue when submitting a string for extra json. #53963

@pierrejeambrun

Description

@pierrejeambrun

Body

As mentioned in #53943 (review)

If we try to save a connection with a string for the 'Extra field json' API is returning an error 500. (picture 1)

There is two issue with that, first of all the UI should not allow this to be submitted, similarly to malformed json (picture 2)

Also the backend shouldn't crash if the extra is an unstructured string. (That's because of the action_login function expecting only parsable json as extra which isn't correct).

Image Image

Committer

  • I acknowledge that I am a maintainer/committer of the Apache Airflow project.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions