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

   ### Apache Airflow version
   
   main (development)
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   Some of the states like dagrun in queued state, task instance in scheduled 
state will not have any start_date in the database. On trying to click on these 
state links from the dashboard the start_date value is added to the link to 
task instances/dagruns list page and it tries to filter them with start_date 
but since the start_date is null in db they are not filtered.
   
   Also queued is not filled in the dashboard for dagruns since queued dagrun 
won't have start_date. This looks like something that needs to be fixed in the 
backend.
   
   ### What you think should happen instead?
   
   start_date should be removed for the links from dashboard for states that 
will not have start_date set.
   
   ### How to reproduce
   
   1. Set the pool size to 0.
   2. Trigger a dagrun to have the task instance in scheduled state.
   3. Stop the scheduler.
   4. Trigger a dagrun to have the dagrun in queued state.
   5. Try clicking on scheduled state for task instance or queued state for 
dagrun in the dashboard.
   6. The resource will not be listed in the list page
   
   ### Operating System
   
   Ubuntu 20.04
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Virtualenv installation
   
   ### 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