Browse Source

HUE-4191 [oozie] Prevent 500 error when listing a workflow which coordinator is none

Romain Rigaux 9 years ago
parent
commit
ea996ac
1 changed files with 1 additions and 0 deletions
  1. 1 0
      apps/oozie/src/oozie/views/dashboard.py

+ 1 - 0
apps/oozie/src/oozie/views/dashboard.py

@@ -312,6 +312,7 @@ def list_oozie_workflow(request, job_id):
   credentials = None
   doc = None
   hue_workflow = None
+  hue_coord = None
   workflow_graph = 'MISSING'  # default to prevent loading the graph tab for deleted workflows
   full_node_list = None