This is an automated email from the ASF dual-hosted git repository. atkach pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/trunk by this push: new db4b701 AMBARI-22973 'Assign Slaves & Clients' page is empty when 3 or more services selected while adding multiple services db4b701 is described below commit db4b701799d039e362572c72ffc1a4d124421b0d Author: Andrii Tkach <atk...@apache.org> AuthorDate: Tue Feb 13 11:30:37 2018 +0200 AMBARI-22973 'Assign Slaves & Clients' page is empty when 3 or more services selected while adding multiple services --- ambari-web/app/controllers/wizard/step6_controller.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ambari-web/app/controllers/wizard/step6_controller.js b/ambari-web/app/controllers/wizard/step6_controller.js index 5e7358d..d726dce 100644 --- a/ambari-web/app/controllers/wizard/step6_controller.js +++ b/ambari-web/app/controllers/wizard/step6_controller.js @@ -470,6 +470,9 @@ App.WizardStep6Controller = Em.Controller.extend(App.HostComponentValidationMixi service.get('serviceComponents').forEach(function (component) { component.get('dependencies').forEach(function (dependency) { var dependentService = App.StackService.find().findProperty('serviceName', dependency.serviceName); + if (!dependentService) { + return; + } var dependentComponent = dependentService.get('serviceComponents').findProperty('componentName', dependency.componentName); if (dependentComponent.get('isSlave') && dependentService.get('isInstalled')) { dependentSlaves[dependentComponent.get('componentName')] = []; -- To stop receiving notification emails like this one, please contact atk...@apache.org.