pierrejeambrun opened a new issue, #53963:
URL: https://github.com/apache/airflow/issues/53963

   ### Body
   
   As mentioned in 
https://github.com/apache/airflow/pull/53943#pullrequestreview-3074344723
   
   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).
   
   
   <img width="787" height="848" alt="Image" 
src="https://github.com/user-attachments/assets/1357b5b9-1f65-4819-a363-a720c81bfea6";
 />
   <img width="791" height="789" alt="Image" 
src="https://github.com/user-attachments/assets/428a993f-fa87-4d96-b9d5-662c2f543735";
 />
   
   
   ### Committer
   
   - [x] I acknowledge that I am a maintainer/committer of the Apache Airflow 
project.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to