hussein-awala opened a new pull request, #29212:
URL: https://github.com/apache/airflow/pull/29212

   closes: #29197
   
   ---
   
   This PR fixes the origin url for the Trigger DAG w/config web page, where 
currently, it redirects to the origin endpoint with the param dag_id, but for 
some origins, this lead to a error 400.
   For example, when we navigate to the Trigger DAG w/config page from the 
endpoint tasks, the origin url will be `/tasks?dag_id=<dag_id>` without the 
`task_id`, the `execution_date` and the `map_index`, so when it redirect to 
this origin url, we get `Bad Request Invalid datetime: None`. To fix this 
problem, I redirect to the origin endpoint with all the origin params and I add 
`dag_id` if it doesn't exist in the origin params.


-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to