Ver código fonte

HPCC-10275: "Compiled" Workunit not showing as completed

Fixes HPCC-10275

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>
Gordon Smith 11 anos atrás
pai
commit
a955c64bf6

+ 2 - 0
esp/files/scripts/WUDetailsWidget.js

@@ -343,6 +343,8 @@ define([
                 this.graphsWidget.set("tooltip", tooltip);
             } else if (name === "StateID") {
                 this.refreshActionState();
+            } else if (name === "ActionEx") {
+                this.refreshActionState();
             } else if (name === "hasCompleted") {
                 this.checkIfComplete();
             }

+ 1 - 1
esp/files/scripts/WUQueryWidget.js

@@ -448,7 +448,7 @@ define([
                     } else {
                         hasNotFailed = true;
                     }
-                    if (WsWorkunits.isComplete(selection[i].StateID)) {
+                    if (WsWorkunits.isComplete(selection[i].StateID, selection[i].ActionEx)) {
                         hasCompleted = true;
                     } else {
                         hasNotCompleted = true;