mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged V3.2 to HEAD
16681: Fixed ETHREEOH-2454 "It's possible to create a group with less than 3 symbols in JSF client, but it's impossible to find it in Share client" - Group name can now only be between 3-100 characters in webclient git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16901 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -64,6 +64,7 @@ public class ClientElementReader implements ConfigElementReader
|
||||
public static final String ELEMENT_SIMPLESEARCHADDITIONALATTRSQNAME = "qname";
|
||||
public static final String ELEMENT_MINUSERNAMELENGTH = "username-min-length";
|
||||
public static final String ELEMENT_MINPASSWORDLENGTH = "password-min-length";
|
||||
public static final String ELEMENT_MINGROUPNAMELENGTH = "group-name-min-length";
|
||||
public static final String ELEMENT_BREADCRUMB_MODE = "breadcrumb-mode";
|
||||
public static final String ELEMENT_CIFSURLSUFFIX = "cifs-url-suffix";
|
||||
public static final String ELEMENT_LANGUAGESELECT = "language-select";
|
||||
@@ -261,7 +262,14 @@ public class ClientElementReader implements ConfigElementReader
|
||||
{
|
||||
configElement.setMinPasswordLength(Integer.parseInt(minPassword.getTextTrim()));
|
||||
}
|
||||
|
||||
|
||||
// get the minimum length of group names
|
||||
Element minGroupName = element.element(ELEMENT_MINGROUPNAMELENGTH);
|
||||
if (minGroupName != null)
|
||||
{
|
||||
configElement.setMinGroupNameLength(Integer.parseInt(minGroupName.getTextTrim()));
|
||||
}
|
||||
|
||||
// get the breadcrumb mode
|
||||
Element breadcrumbMode = element.element(ELEMENT_BREADCRUMB_MODE);
|
||||
if (breadcrumbMode != null)
|
||||
|
Reference in New Issue
Block a user