From aa5e2cc49daf7c4592945b59ec9040a6c8b53a39 Mon Sep 17 00:00:00 2001 From: break60 <790061044@qq.com> Date: Tue, 19 May 2020 19:04:35 +0800 Subject: [PATCH 1/2] Fix workflow definition history node data cannot be opened --- .../js/conf/home/pages/dag/_source/plugIn/jsPlumbHandle.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/plugIn/jsPlumbHandle.js b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/plugIn/jsPlumbHandle.js index 180dbf372e..13e3509466 100755 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/plugIn/jsPlumbHandle.js +++ b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/plugIn/jsPlumbHandle.js @@ -199,8 +199,8 @@ JSP.prototype.jsonHandle = function ({ largeJson, locations }) { taskType: v.type, runFlag: v.runFlag, nodenumber: locations[v.id].nodenumber, - successNode: v.conditionResult.successNode[0], - failedNode: v.conditionResult.failedNode[0] + successNode: v.conditionResult == undefined? '' : v.conditionResult.successNode[0], + failedNode: v.conditionResult == undefined? '' : v.conditionResult.failedNode[0] })) // contextmenu event From 34c292b7db3c856aac8293190b9f9514d5bd6891 Mon Sep 17 00:00:00 2001 From: break60 <790061044@qq.com> Date: Tue, 19 May 2020 19:09:41 +0800 Subject: [PATCH 2/2] fix --- .../js/conf/home/pages/dag/_source/plugIn/jsPlumbHandle.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/plugIn/jsPlumbHandle.js b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/plugIn/jsPlumbHandle.js index 13e3509466..badbbf15cd 100755 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/plugIn/jsPlumbHandle.js +++ b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/plugIn/jsPlumbHandle.js @@ -199,8 +199,8 @@ JSP.prototype.jsonHandle = function ({ largeJson, locations }) { taskType: v.type, runFlag: v.runFlag, nodenumber: locations[v.id].nodenumber, - successNode: v.conditionResult == undefined? '' : v.conditionResult.successNode[0], - failedNode: v.conditionResult == undefined? '' : v.conditionResult.failedNode[0] + successNode: v.conditionResult === undefined? '' : v.conditionResult.successNode[0], + failedNode: v.conditionResult === undefined? '' : v.conditionResult.failedNode[0] })) // contextmenu event