[
https://issues.apache.org/jira/browse/AIRFLOW-806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bolke de Bruin resolved AIRFLOW-806.
------------------------------------
Resolution: Fixed
Fix Version/s: 1.8.1
Issue resolved by pull request #2020
[https://github.com/apache/incubator-airflow/pull/2020]
> UI should properly ignore DAG doc when it is None
> -------------------------------------------------
>
> Key: AIRFLOW-806
> URL: https://issues.apache.org/jira/browse/AIRFLOW-806
> Project: Apache Airflow
> Issue Type: Improvement
> Components: ui
> Affects Versions: Airflow 1.7.1.3
> Reporter: Daniel Huang
> Assignee: Daniel Huang
> Priority: Trivial
> Fix For: 1.8.1
>
>
> If {{dag.doc_md = __doc__}}, but there are no docstrings on the file, the
> Graph view will error with:
> {code}
> AttributeError: 'NoneType' object has no attribute 'strip'
> {code}
> The UI should just assume we have no docs to show for the DAG. I suspect user
> in AIRFLOW-625 ran into this error.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)