Browse Source

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

Richard Zang 10 years ago
parent
commit
2ba8d67a4d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ambari-web/app/controllers/wizard/step7_controller.js

+ 1 - 1
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);
   },