ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oleew...@apache.org
Subject [24/55] [abbrv] ambari git commit: AMBARI-18211. No config group selected (akovalenko)
Date Mon, 22 Aug 2016 13:37:19 GMT
AMBARI-18211. No config group selected (akovalenko)


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

Branch: refs/heads/branch-dev-logsearch
Commit: 407c452517f04d05ddeb0d290adb48b500a5ead4
Parents: 9ad1966
Author: Aleksandr Kovalenko <akovalenko@hortonworks.com>
Authored: Fri Aug 19 17:23:12 2016 +0300
Committer: Aleksandr Kovalenko <akovalenko@hortonworks.com>
Committed: Fri Aug 19 17:23:12 2016 +0300

----------------------------------------------------------------------
 ambari-web/app/mixins/common/configs/configs_loader.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/407c4525/ambari-web/app/mixins/common/configs/configs_loader.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/mixins/common/configs/configs_loader.js b/ambari-web/app/mixins/common/configs/configs_loader.js
index 83e4837..87dec7f 100644
--- a/ambari-web/app/mixins/common/configs/configs_loader.js
+++ b/ambari-web/app/mixins/common/configs/configs_loader.js
@@ -125,9 +125,10 @@ App.ConfigsLoader = Em.Mixin.create(App.GroupsMappingMixin, {
    */
   loadCurrentVersionsSuccess: function (data, opt, params) {
     var self = this;
-    var serviceGroups = App.ServiceConfigGroup.find().filterProperty('serviceName', this.get('content.serviceName'));
+    var serviceGroups;
     App.configGroupsMapper.map(data, true, params.serviceNames.split(','));
     this.loadConfigGroups(params.serviceNames.split(',')).done(function () {
+      serviceGroups = App.ServiceConfigGroup.find().filterProperty('serviceName', self.get('content.serviceName'));
       if (self.get('isHostsConfigsPage')) {
         self.set('selectedConfigGroup', serviceGroups.find(function (cg) {
               return !cg.get('isDefault') && cg.get('hosts').contains(self.get('host.hostName'));


Mime
View raw message