You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/03/23 01:04:00 UTC

[jira] [Commented] (AIRFLOW-6704) TaskInstance.operator is not set when task is marked success or failed in the Web UI

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

ASF subversion and git services commented on AIRFLOW-6704:
----------------------------------------------------------

Commit ca3018800fa2a41541a3671f74a97abac854f1f0 in airflow's branch refs/heads/v1-10-test from yuqian90
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=ca30188 ]

[AIRFLOW-6704] Copy common TaskInstance attributes from Task (#7324)

cherry-picked from 3ef711806


> TaskInstance.operator is not set when task is marked success or failed in the Web UI
> ------------------------------------------------------------------------------------
>
>                 Key: AIRFLOW-6704
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6704
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: models
>    Affects Versions: 1.10.7
>            Reporter: Qian Yu
>            Assignee: Qian Yu
>            Priority: Major
>             Fix For: 1.10.10
>
>
> {{TaskInstance.operator}} is currently only set when task is executed. But if a task is marked success or failed, the {{operator}} field is left as {{None}}.
> This causes bugs when some code tries to use the operator field to find the name of the class.
> The fix is trivial, just set {{TaskInstance.operator}} in its constructor.



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