You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by on...@apache.org on 2014/07/16 13:15:24 UTC

git commit: 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)

Repository: ambari
Updated Branches:
  refs/heads/trunk 8c5490e59 -> 263602954


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)


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

Branch: refs/heads/trunk
Commit: 2636029542f5910dc031a243de26c2315fcc25fd
Parents: 8c5490e
Author: Oleg Nechiporenko <on...@apache.org>
Authored: Wed Jul 16 14:11:14 2014 +0300
Committer: Oleg Nechiporenko <on...@apache.org>
Committed: Wed Jul 16 14:11:14 2014 +0300

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


http://git-wip-us.apache.org/repos/asf/ambari/blob/26360295/ambari-web/app/controllers/wizard/step4_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/wizard/step4_controller.js b/ambari-web/app/controllers/wizard/step4_controller.js
index 65213ff..1e88870 100644
--- a/ambari-web/app/controllers/wizard/step4_controller.js
+++ b/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;
           }