-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Closed as duplicate of#47104
Closed as duplicate of#47104
Copy link
Labels
area:UIRelated to UI/UX. For Frontend Developers.Related to UI/UX. For Frontend Developers.area:corekind:bugThis is a clearly a bugThis is a clearly a bugneeds-triagelabel for new issues that we didn't triage yetlabel for new issues that we didn't triage yet
Description
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) (#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:
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.
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
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
area:UIRelated to UI/UX. For Frontend Developers.Related to UI/UX. For Frontend Developers.area:corekind:bugThis is a clearly a bugThis is a clearly a bugneeds-triagelabel for new issues that we didn't triage yetlabel for new issues that we didn't triage yet
