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

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

The logic in side DagModel is the same but it appears that the classic www view 
works around it (likely by still using the DagBag).

In addition to fixing the issue for subdags that endpoint should return a 404 
if the dag isn't found :)

> dag_details broken for subdags
> ------------------------------
>
>                 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