[
https://issues.apache.org/jira/browse/AIRFLOW-6357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17004472#comment-17004472
]
ASF subversion and git services commented on AIRFLOW-6357:
----------------------------------------------------------
Commit 365a424871fd1d8cf9ac0494cdb2c683bb5d4ef6 in airflow's branch
refs/heads/master from Igor Khrol
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=365a424 ]
[AIRFLOW-6357] Highlight nodes in Graph UI if task id contains dots (#6904)
> Graph UI nodes hightlight is broken when task id contains dots
> --------------------------------------------------------------
>
> Key: AIRFLOW-6357
> URL: https://issues.apache.org/jira/browse/AIRFLOW-6357
> Project: Apache Airflow
> Issue Type: Bug
> Components: ui
> Affects Versions: 1.10.7
> Reporter: Igor Khrol
> Assignee: Igor Khrol
> Priority: Minor
>
> If task id contains a dot, Graph UI highlight is broken.
>
> ```
> with DAG(dag_id='hightlight_test',
> start_date=airflow.utils.dates.days_ago(2)) as dag:
> t1 = DummyOperator(task_id='t1')
> t2 = DummyOperator(task_id='t2.t2')
> t3 = DummyOperator(task_id='t3.t3')
> t1 >> t2
> t2 >> t3
> ```
>
> If you hightlight nodes in this DAG the following stacktrace is in JS console:
>
> graph?dag_id=daily_dag:1246 Uncaught TypeError: Cannot read property
> 'parentNode' of null
> at graph?dag_id=daily_dag:1246
> at Array.forEach (<anonymous>)
> at highlight_nodes (graph?dag_id=daily_dag:1245)
> at SVGGElement.<anonymous> (graph?dag_id=daily_dag:1253)
> at SVGGElement.__onmouseover (d3.min.js:1)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)