AMBARI-19729: Workflow Manager: Path does not get set to selected directory 
when creating FS action node. (sangeetar)


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

Branch: refs/heads/branch-dev-patch-upgrade
Commit: 828e24f063820b6366651410071701067338bc7d
Parents: e8dc698
Author: Sangeeta Ravindran <sangee...@apache.org>
Authored: Thu Jan 26 13:40:53 2017 -0800
Committer: Sangeeta Ravindran <sangee...@apache.org>
Committed: Thu Jan 26 13:40:53 2017 -0800

----------------------------------------------------------------------
 .../src/main/resources/ui/app/components/prepare-config-fs.js    | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/828e24f0/contrib/views/wfmanager/src/main/resources/ui/app/components/prepare-config-fs.js
----------------------------------------------------------------------
diff --git 
a/contrib/views/wfmanager/src/main/resources/ui/app/components/prepare-config-fs.js
 
b/contrib/views/wfmanager/src/main/resources/ui/app/components/prepare-config-fs.js
index ba9b91e..15592a4 100644
--- 
a/contrib/views/wfmanager/src/main/resources/ui/app/components/prepare-config-fs.js
+++ 
b/contrib/views/wfmanager/src/main/resources/ui/app/components/prepare-config-fs.js
@@ -32,9 +32,7 @@ export default Ember.Component.extend({
       var filePathModel = this.get('filePathModel');
       if(filePathModel && filePathModel.hasOwnProperty("index") && 
filePathModel.hasOwnProperty("property")){
         var fileOperation = this.get('fsOps').objectAt(filePathModel.index);
-        var settings = fileOperation.settings;
-        Ember.set(settings, filePathModel.property, fileName);
-        Ember.set(fileOperation, "settings", settings);
+        Ember.set(fileOperation, filePathModel.property, fileName);
       }else{
         this.set(this.get('filePathModel'), fileName);
       }

Reply via email to