You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by al...@apache.org on 2015/08/07 11:00:47 UTC

ambari git commit: AMBARI-12664. Custom property for TEZ disappeared after save (alexantonenko)

Repository: ambari
Updated Branches:
  refs/heads/trunk f1550245c -> 6ce594e04


AMBARI-12664. Custom property for TEZ disappeared after save (alexantonenko)


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

Branch: refs/heads/trunk
Commit: 6ce594e0436fe96ffacab73e87463bc80c0da604
Parents: f155024
Author: Alex Antonenko <hi...@gmail.com>
Authored: Thu Aug 6 20:30:15 2015 +0300
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Fri Aug 7 12:00:41 2015 +0300

----------------------------------------------------------------------
 ambari-web/app/utils/config.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/6ce594e0/ambari-web/app/utils/config.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/config.js b/ambari-web/app/utils/config.js
index 4395ef1..0cb1988 100644
--- a/ambari-web/app/utils/config.js
+++ b/ambari-web/app/utils/config.js
@@ -275,7 +275,7 @@ App.config = Em.Object.create({
       for (var index in properties) {
         var id = this.configId(index, siteConfig.type);
         var configsPropertyDef = this.get('preDefinedSitePropertiesMap')[id];
-        var advancedConfig = App.StackConfigProperty.find(id);
+        var advancedConfig = App.StackConfigProperty.find().findProperty('id', id);
 
         var template = this.createDefaultConfig(index, filename, !!advancedConfig, configsPropertyDef);
         var serviceConfigObj = this.mergeStaticProperties(template, advancedConfig);