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

   ### Apache Airflow version
   
   3.0.1
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   When the variables from old environment are imported in JSON file via 
Airflow--> Admin--> Import Variables, it is converting the (") around keys and 
values both to (')characters. And it is also complaining about the (') 
character as it is expecting (") characters.
   
   To validate this, added a dag to access all the airflow vars and 
specifically load the json value to ensure if " to ' conversion is just a UI 
thing or an actual backend bug. So it looks like the import option is messing 
up the json value and that would cause an issue when accessing the airflow 
variable value.
   While adding the variable manually from the right hand side option via “Add 
Variable” button seems to be working fine as of now.
   
   ### What you think should happen instead?
   
   _No response_
   
   ### How to reproduce
   
   Airflow--> Admin--> Import Variables, specifically load the json value to 
ensure if " to ' conversion
   
   ### Operating System
   
   macOS
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Astronomer
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] 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: [email protected]

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

Reply via email to