فهرست منبع

HUE-5106 [oozie] Delete on decision node children creates broken links

Currently when deleteNode() is called on a decisionNode child - X,
1. Link parent of X to the child of X
2. Delete X
3. Remove link in step-1

This fix removes step-3
krish 9 سال پیش
والد
کامیت
72d2555
1فایلهای تغییر یافته به همراه0 افزوده شده و 2 حذف شده
  1. 0 2
      apps/oozie/src/oozie/static/oozie/js/workflow-editor.ko.js

+ 0 - 2
apps/oozie/src/oozie/static/oozie/js/workflow-editor.ko.js

@@ -461,8 +461,6 @@ var Workflow = function (vm, workflow) {
             parent.remove_link('to', childId);
           }
         }
-      } else if (parent.type() == 'decision-widget') {
-        parent.remove_link('to', childId);
       }
     }
     else {