Mapped TriggerDagRun operator with trigger_id as partial crashes on accessing extra_link #32150
Closed
1 of 2 tasks
Labels
area:core-operators
Operators, Sensors and hooks within Core Airflow
area:webserver
Webserver related Issues
kind:bug
This is a clearly a bug
Apache Airflow version
main (development)
What happened
While loading a Mapped TriggerDagRun operator inside the webserver the trigger_dag_id is set as
None
andoperator
also doesn't havepartial_kwargs
set to fetch it. This is part ofpartial_kwargs
during serialization. So None value causes the link to return 500 error as per below traceback.airflow/airflow/operators/trigger_dagrun.py
Line 64 in 016ce99
I tried the below patch but I am not sure if it's a good idea.
What you think should happen instead
The appropriate extra link should be returned.
How to reproduce
Test case
Operating System
Ubuntu
Versions of Apache Airflow Providers
No response
Deployment
Virtualenv installation
Deployment details
No response
Anything else
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: