exo-social

Validate Space Name

Details

  • BV:
    0
  • Labels:
  • Similar issues:
    SOC-78 [people][profile] Should validate some field when edit user's profile
    SOC-973 [people] Need to validate the field "position"
    SOC-80 [people][profile] can't auto validate some field of the contact
  • Description:

    when i create a new space with name contain -, _, . => show message: "Only alpha, digit, underscore, dash and dot characters allowed for the field "Name""
    need re-check the validate name of space

Activity

Hide
Hoat Le added a comment - 27/Jun/10 11:21 AM - edited

From now on, space name accepts only alphabet, digit and space characters. Underscore, dash and dot characters are not allowed for inputting. Please update test case for this.

Note: When inputting more than 2 space ( ) characters between words, these spaces will be converted to ONLY ONE space character ( ) for displaying. With space characters at the beginning and end of space names, these space characters will be omitted.

In the future, space should have: space display name (original input) and space identity name (identity name converted from original input). Currently, space has only one name for displaying and identifying => causes this bug.

Show
Hoat Le added a comment - 27/Jun/10 11:21 AM - edited From now on, space name accepts only alphabet, digit and space characters. Underscore, dash and dot characters are not allowed for inputting. Please update test case for this. Note: When inputting more than 2 space ( ) characters between words, these spaces will be converted to ONLY ONE space character ( ) for displaying. With space characters at the beginning and end of space names, these space characters will be omitted. In the future, space should have: space display name (original input) and space identity name (identity name converted from original input). Currently, space has only one name for displaying and identifying => causes this bug.
Hide
Hudson added a comment - 27/Jun/10 11:36 AM

Integrated in social-1.0.x-ci #29
SOC-955 | Validate space name

hoat_le : 48906
Files :

  • /social/branches/1.0.x/component/space/src/main/java/org/exoplatform/social/space/SpaceUtils.java
  • /social/branches/1.0.x/portlet/space/src/main/java/social/portal/webui/component/UISpaceSettings.java
  • /social/branches/1.0.x/portlet/space/src/main/webapp/WEB-INF/classes/locale/portlet/web/SpaceSettingPortlet_en.properties
  • /social/branches/1.0.x/portlet/space/src/main/java/social/portal/webui/component/UISpaceInfo.java
  • /social/branches/1.0.x/portlet/space/src/main/webapp/WEB-INF/classes/locale/portlet/web/MySpacePortlet_en.properties
  • /social/branches/1.0.x/component/space/src/main/java/org/exoplatform/social/space/SpaceService.java
Show
Hudson added a comment - 27/Jun/10 11:36 AM Integrated in social-1.0.x-ci #29 SOC-955 | Validate space name hoat_le : 48906 Files :
  • /social/branches/1.0.x/component/space/src/main/java/org/exoplatform/social/space/SpaceUtils.java
  • /social/branches/1.0.x/portlet/space/src/main/java/social/portal/webui/component/UISpaceSettings.java
  • /social/branches/1.0.x/portlet/space/src/main/webapp/WEB-INF/classes/locale/portlet/web/SpaceSettingPortlet_en.properties
  • /social/branches/1.0.x/portlet/space/src/main/java/social/portal/webui/component/UISpaceInfo.java
  • /social/branches/1.0.x/portlet/space/src/main/webapp/WEB-INF/classes/locale/portlet/web/MySpacePortlet_en.properties
  • /social/branches/1.0.x/component/space/src/main/java/org/exoplatform/social/space/SpaceService.java
Hide
Hudson added a comment - 27/Jun/10 12:25 PM

Integrated in social-trunk-ci #1410
SOC-955 | Validate space name

hoat_le : 48907
Files :

  • /social/trunk/component/space/src/main/java/org/exoplatform/social/space/SpaceUtils.java
  • /social/trunk/portlet/space/src/main/java/social/portal/webui/component/UISpaceSettings.java
  • /social/trunk/portlet/space/src/main/webapp/WEB-INF/classes/locale/portlet/web/SpaceSettingPortlet_en.properties
  • /social/trunk/portlet/space/src/main/java/social/portal/webui/component/UISpaceInfo.java
  • /social/trunk/portlet/space/src/main/webapp/WEB-INF/classes/locale/portlet/web/MySpacesPortlet_en.properties
Show
Hudson added a comment - 27/Jun/10 12:25 PM Integrated in social-trunk-ci #1410 SOC-955 | Validate space name hoat_le : 48907 Files :
  • /social/trunk/component/space/src/main/java/org/exoplatform/social/space/SpaceUtils.java
  • /social/trunk/portlet/space/src/main/java/social/portal/webui/component/UISpaceSettings.java
  • /social/trunk/portlet/space/src/main/webapp/WEB-INF/classes/locale/portlet/web/SpaceSettingPortlet_en.properties
  • /social/trunk/portlet/space/src/main/java/social/portal/webui/component/UISpaceInfo.java
  • /social/trunk/portlet/space/src/main/webapp/WEB-INF/classes/locale/portlet/web/MySpacesPortlet_en.properties
Hide
Hoat Le added a comment - 29/Jun/10 8:47 AM

When inputting more than 1 space character between words, a warning message shown => bug.

Show
Hoat Le added a comment - 29/Jun/10 8:47 AM When inputting more than 1 space character between words, a warning message shown => bug.
Hide
Hudson added a comment - 29/Jun/10 9:48 AM

Integrated in social-1.0.x-ci #32
SOC-955 | Validate Space Name

hoat_le : 48984
Files :

  • /social/branches/1.0.x/portlet/space/src/main/java/social/portal/webui/component/UISpaceSettings.java
  • /social/branches/1.0.x/portlet/space/src/main/java/social/portal/webui/component/UISpaceInfo.java
Show
Hudson added a comment - 29/Jun/10 9:48 AM Integrated in social-1.0.x-ci #32 SOC-955 | Validate Space Name hoat_le : 48984 Files :
  • /social/branches/1.0.x/portlet/space/src/main/java/social/portal/webui/component/UISpaceSettings.java
  • /social/branches/1.0.x/portlet/space/src/main/java/social/portal/webui/component/UISpaceInfo.java
Hide
Hudson added a comment - 29/Jun/10 9:54 AM

Integrated in social-trunk-ci #1418
SOC-955 | Validate Space Name

hoat_le : 48983
Files :

  • /social/trunk/portlet/space/src/main/java/social/portal/webui/component/UISpaceSettings.java
  • /social/trunk/portlet/space/src/main/java/social/portal/webui/component/UISpaceInfo.java
Show
Hudson added a comment - 29/Jun/10 9:54 AM Integrated in social-trunk-ci #1418 SOC-955 | Validate Space Name hoat_le : 48983 Files :
  • /social/trunk/portlet/space/src/main/java/social/portal/webui/component/UISpaceSettings.java
  • /social/trunk/portlet/space/src/main/java/social/portal/webui/component/UISpaceInfo.java
Hide
Nguyen An added a comment - 21/Jul/10 2:57 AM

tested: OK

Show
Nguyen An added a comment - 21/Jul/10 2:57 AM tested: OK

People

Dates

  • Created:
    24/Jun/10 1:01 PM
    Updated:
    21/Jul/10 2:57 AM
    Resolved:
    29/Jun/10 9:30 AM
    Date of First Response:
    27/Jun/10 11:36 AM