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

   ### Apache Airflow version
   
   2.10.5
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   One of these two PRs introduced into Airflow 2.10.5 appears to have broken 
the ability to trigger DAGs that use "object" parameters
   > Fix object and array DAG params that have a None default 
([#45313](https://github.com/apache/airflow/pull/45313)) 
([#45315](https://github.com/apache/airflow/pull/45315))
   
   If you attempt to trigger a DAG with an "object" param, filling out the form 
and then clicking the "Trigger" button in the UI does nothing.
   
   ### What you think should happen instead?
   
   DAG should be triggered if the form is filled out and "Trigger" is clicked
   
   ### How to reproduce
   
   Define a DAG with a required "object" parameter:
   ```python
   from airflow import DAG
   from airflow.models import Param
   from airflow.operators.empty import EmptyOperator
   
   with DAG(
       dag_id="aaa.testing",
       schedule=None,
       params={
           "object_param": Param(
               title="Object Param",
               type="object",
           ),
   
       },
       render_template_as_native_obj=True,
   ) as dag:
   
       EmptyOperator(task_id="empty")
   ```
   
   Attempt to trigger the DAG in the UI. Clicking the "Trigger" button does 
nothing.
   
   
![Image](https://github.com/user-attachments/assets/352c7d3d-fb03-47f4-8906-cf67300e88b7)
   
   ### Operating System
   
   Debian GNU/Linux 12 (bookworm)
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Astronomer
   
   ### Deployment details
   
   We are using Astro Runtime 12.7.1
   
   ### Anything else?
   
   Bug did not occur in Airflow 2.10.3
   
   ### 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