Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 95833865c -> c47662934


AMBARI-20359. Not able to import workflow with fs action node (Madhan Mohan 
Reddy via pallavkul)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/c4766293
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/c4766293
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/c4766293

Branch: refs/heads/branch-2.5
Commit: c476629345c05896a445f005e94f2ab605510362
Parents: 9583386
Author: pallavkul <pallav....@gmail.com>
Authored: Thu Mar 9 20:25:50 2017 +0530
Committer: pallavkul <pallav....@gmail.com>
Committed: Thu Mar 9 20:28:13 2017 +0530

----------------------------------------------------------------------
 .../src/main/resources/ui/app/domain/workflow-importer.js          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/c4766293/contrib/views/wfmanager/src/main/resources/ui/app/domain/workflow-importer.js
----------------------------------------------------------------------
diff --git 
a/contrib/views/wfmanager/src/main/resources/ui/app/domain/workflow-importer.js 
b/contrib/views/wfmanager/src/main/resources/ui/app/domain/workflow-importer.js
index ccf8209..a076e3e 100644
--- 
a/contrib/views/wfmanager/src/main/resources/ui/app/domain/workflow-importer.js
+++ 
b/contrib/views/wfmanager/src/main/resources/ui/app/domain/workflow-importer.js
@@ -106,7 +106,7 @@ var WorkflowImporter= Ember.Object.extend({
       if (nodeHandler){
         if (Ember.isArray(workflowAppJson[key])){
           workflowAppJson[key].forEach(function(jsonObj){
-            var node=nodeHandler.handleImportNode(key,jsonObj,workflow);
+            var node=nodeHandler.handleImportNode(key,jsonObj,workflow,xmlDoc);
             nodeMap.set(jsonObj._name,{json:jsonObj,node:node});
           });
         }else{

Reply via email to