Procházet zdrojové kódy

AMBARI-6499. Unable to proceed from step 4 of installer if YARN-dependent services are selected but YARN isn't (HDP 2.0) . (Max Shepel via onechiporenko)

Oleg Nechiporenko před 11 roky
rodič
revize
2636029542

+ 1 - 1
ambari-web/app/controllers/wizard/step4_controller.js

@@ -177,7 +177,7 @@ App.WizardStep4Controller = Em.ArrayController.extend({
         showWarningPopup = false;
         dependentServices.forEach(function(_dependentService){
           var dependentService = this.findProperty('serviceName', _dependentService);
-          if (dependentService.get('isSelected') === true) {
+          if (dependentService && dependentService.get('isSelected') === true) {
             showWarningPopup = true;
             isCheckFailed = true;
           }