From f64f52be1a890876a6b8e680ab133fbce1bf84c0 Mon Sep 17 00:00:00 2001 From: nttuyen Date: Tue, 7 Oct 2014 15:26:17 +0700 Subject: [PATCH] GTNPORTAL-3549 Do not validate username when edit user --- .../organization/webui/component/UIAccountEditInputSet.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/UIAccountEditInputSet.java b/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/UIAccountEditInputSet.java index 00e0cc327..8e8ce72a1 100644 --- a/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/UIAccountEditInputSet.java +++ b/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/UIAccountEditInputSet.java @@ -58,9 +58,7 @@ public UIAccountEditInputSet() { public UIAccountEditInputSet(String name) throws Exception { super(name); - addUIFormInput(new UIFormStringInput(USERNAME, "userName", null).setReadOnly(true) - .addValidator(MandatoryValidator.class) - .addValidator(UserConfigurableValidator.class, UserConfigurableValidator.USERNAME)); + addUIFormInput(new UIFormStringInput(USERNAME, "userName", null).setReadOnly(true)); addUIFormInput(new UIFormStringInput("firstName", "firstName", null).addValidator(StringLengthValidator.class, 1, 45) .addValidator(MandatoryValidator.class).addValidator(PersonalNameValidator.class)); addUIFormInput(new UIFormStringInput("lastName", "lastName", null).addValidator(StringLengthValidator.class, 1, 45)