airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kamil Bregula (Jira)" <j...@apache.org>
Subject [jira] [Resolved] (AIRFLOW-6070) On the admin dashboard, the recent tasks column has no tooltip for tasks in 'null' state
Date Tue, 26 Nov 2019 23:16:00 GMT

     [ https://issues.apache.org/jira/browse/AIRFLOW-6070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kamil Bregula resolved AIRFLOW-6070.
------------------------------------
    Resolution: Duplicate

This has already been fixed in Airflow. Please noteĀ that this is not a ticket system for
Cloud Composer. If you have bugs that are in Cloud Composer then you should report them to
Google or test if the problem occurs in other versions of Airflow.

> On the admin dashboard, the recent tasks column has no tooltip for tasks in 'null' state
> ----------------------------------------------------------------------------------------
>
>                 Key: AIRFLOW-6070
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6070
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: ui
>    Affects Versions: 1.10.2
>         Environment: GCP Composer composer-1.7.5-airflow-1.10.2
>            Reporter: Adam Hopkinson
>            Priority: Trivial
>         Attachments: image-2019-11-26-10-03-40-377.png
>
>
> On the DAGS listing template, the circles in theĀ _Recent Tasks_ column all have a tooltip
apart from the second to last - which is for tasks with state = `null`
> !image-2019-11-26-10-03-40-377.png|width=261,height=37!
> I believe this is happening in [this line of code|https://github.com/apache/airflow/blob/0ff9e2307042ba95e69b32e37f2fc767a5fdc36d/airflow/www/templates/airflow/dags.html#L447],
which is:
> {{.attr('title', function(d) \{return d.state || 'none'})}}
> I'm not sure why it's not falling back to 'none' - I think it's possibly seeing the value
of d.state as the text value 'null' rather than a true null, but then putting that into the
title as true null.
> I'm using GCP Composer, so don't have a local instance of Airflow that I can test.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message