Repository: ambari
Updated Branches:
  refs/heads/branch-2.4 0a992d667 -> 533478069


AMBARI-18436. Add service wizard: Customize service page keeps showing spinner. 
(jaimin)


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

Branch: refs/heads/branch-2.4
Commit: 533478069df740a20ba23887634a47c888ee3a81
Parents: 0a992d6
Author: Jaimin Jetly <jai...@hortonworks.com>
Authored: Wed Sep 21 15:50:43 2016 -0700
Committer: Jaimin Jetly <jai...@hortonworks.com>
Committed: Wed Sep 21 15:50:43 2016 -0700

----------------------------------------------------------------------
 ambari-web/app/controllers/wizard/step7_controller.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/53347806/ambari-web/app/controllers/wizard/step7_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/wizard/step7_controller.js 
b/ambari-web/app/controllers/wizard/step7_controller.js
index a35ea00..f0c2f57 100644
--- a/ambari-web/app/controllers/wizard/step7_controller.js
+++ b/ambari-web/app/controllers/wizard/step7_controller.js
@@ -801,7 +801,7 @@ App.WizardStep7Controller = 
Em.Controller.extend(App.ServerValidatorMixin, App.E
       if (service.get('serviceName') === 'YARN') {
         configsByService[service.get('serviceName')] = 
App.config.addYarnCapacityScheduler(configsByService[service.get('serviceName')]);
       }
-      service.set('configs', configsByService[service.get('serviceName')]);
+      service.set('configs', configsByService[service.get('serviceName')] || 
[]);
       if (['addServiceController', 
'installerController'].contains(this.get('wizardController.name'))) {
         this.addHostNamesToConfigs(service, localDB.masterComponentHosts, 
localDB.slaveComponentHosts);
       }

Reply via email to