소스 검색

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 11 년 전
부모
커밋
2636029542
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      ambari-web/app/controllers/wizard/step4_controller.js

+ 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;
           }