airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] feng-tao edited a comment on issue #3728: [AIRFLOW-2883] Not search dag owner if owners are missing
Date Fri, 10 Aug 2018 03:08:25 GMT
feng-tao edited a comment on issue #3728: [AIRFLOW-2883] Not search dag owner if owners are
missing
URL: https://github.com/apache/incubator-airflow/pull/3728#issuecomment-411962160
 
 
   hey @r39132 ,  the issue is because the owners field for the dag is missing(https://github.com/apache/incubator-airflow/blob/master/airflow/models.py#L3087)
.  And when we search certain regex in the search bar, it will hit this line(https://github.com/apache/incubator-airflow/blob/master/airflow/www/views.py#L2131)
which will check for all the dags in dag table whether the dag_id or dag_owner match the search
term. If the owner is None, it will throw an exception as following.
   <img width="959" alt="screen_shot_2018-08-08_at_6 08 29_pm" src="https://user-images.githubusercontent.com/3223098/43936922-cf067d58-9c0f-11e8-8c4f-cb2a7932b3a7.png">
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message