[
https://issues.apache.org/jira/browse/AIRFLOW-6357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17004471#comment-17004471
]
ASF GitHub Bot commented on AIRFLOW-6357:
-----------------------------------------
kaxil commented on pull request #6904: [AIRFLOW-6357] Highlight nodes in Graph
UI if task id contains dots
URL: https://github.com/apache/airflow/pull/6904
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> 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)