Author: yusaku
Date: Wed Feb 20 21:54:54 2013
New Revision: 1448435
URL: http://svn.apache.org/r1448435
Log:
AMBARI-1441.Validation for username used in service configs is broken. (yusaku)
Modified:
incubator/ambari/trunk/CHANGES.txt
incubator/ambari/trunk/ambari-web/app/models/service_config.js
Modified: incubator/ambari/trunk/CHANGES.txt
URL:
http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1448435&r1=1448434&r2=1448435&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Wed Feb 20 21:54:54 2013
@@ -298,6 +298,9 @@ Trunk (unreleased changes):
BUG FIXES
+ AMBARI-1441. Validation for username used in service configs is broken.
+ (yusaku)
+
AMBARI-1456. Cannot proceed after bootstrapping in some cases due to a
run-time error while running host checks. (yusaku)
Modified: incubator/ambari/trunk/ambari-web/app/models/service_config.js
URL:
http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/models/service_config.js?rev=1448435&r1=1448434&r2=1448435&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-web/app/models/service_config.js (original)
+++ incubator/ambari/trunk/ambari-web/app/models/service_config.js Wed Feb 20
21:54:54 2013
@@ -379,8 +379,8 @@ App.ServiceConfigProperty = Ember.Object
case 'user':
if (!validator.isValidUserName(value)) {
this.set('errorMessage',
Em.I18n.t('users.userName.validationFail'));
+ isError = true;
}
- isError = true;
break;
case 'email':
if (!validator.isValidEmail(value)) {