[ 
https://issues.apache.org/jira/browse/AIRFLOW-4455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16832495#comment-16832495
 ] 

Ash Berlin-Taylor commented on AIRFLOW-4455:
--------------------------------------------

The fix you suggest, if it works, would be better. Could you try it and see if 
it behaves right and then knock up a PR?

> dag_details broken for subdags in RBAC UI
> -----------------------------------------
>
>                 Key: AIRFLOW-4455
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4455
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: webapp
>    Affects Versions: 1.10.3
>            Reporter: James Coder
>            Priority: Major
>              Labels: regression
>             Fix For: 1.10.4
>
>
> With the release of 1.10.3 dagbag was removed from the dag_details view. This 
> appears to have broken the dag details view for subdags. [line 
> 1484|https://github.com/apache/airflow/blob/cec54947d7cf0489284995a6a899b9b94620e301/airflow/models/dag.py#L1484]
>  in models/Dag.py now uses the dag fileloc to get the dag, however for a 
> subdag, the file loc may not contain the dag if the dag is defined in a 
> function as recommended.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to