You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by rz...@apache.org on 2015/08/21 21:03:48 UTC

ambari git commit: AMBARI-12841. Add Service Wizard: Customize Services page doesn't load (rzang)

Repository: ambari
Updated Branches:
  refs/heads/trunk 991feb736 -> 2ba8d67a4


AMBARI-12841. Add Service Wizard: Customize Services page doesn't load (rzang)


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

Branch: refs/heads/trunk
Commit: 2ba8d67a4dd1ebbc66fa4f49a561f7d693d6628d
Parents: 991feb7
Author: Richard Zang <rz...@apache.org>
Authored: Fri Aug 21 12:02:23 2015 -0700
Committer: Richard Zang <rz...@apache.org>
Committed: Fri Aug 21 12:02:23 2015 -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/2ba8d67a/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 5bc939d..3e760d5 100644
--- a/ambari-web/app/controllers/wizard/step7_controller.js
+++ b/ambari-web/app/controllers/wizard/step7_controller.js
@@ -978,7 +978,7 @@ App.WizardStep7Controller = Em.Controller.extend(App.ServerValidatorMixin, App.E
       }
       var propertyName = propertyPrefix + '_existing_' + dbPrefix + '_host';
       var existingDBConfig = configs.findProperty('name', propertyName);
-      if (!existingDBConfig.value)
+      if (existingDBConfig && !existingDBConfig.value)
         existingDBConfig.value = existingDBConfig.savedValue = configs.findProperty('name', dbHostName).value;
     }, this);
   },