Qian Yu created AIRFLOW-6704:
--------------------------------

             Summary: 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: Improvement
          Components: models
    Affects Versions: 1.10.7
            Reporter: Qian Yu


{{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)

Reply via email to