Bug 973509 - User not aware they can use other characters in Group ID
Summary: User not aware they can use other characters in Group ID
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Zanata
Classification: Retired
Component: Component-UI   
(Show other bugs)
Version: development
Hardware: All All
unspecified
low
Target Milestone: ---
: 3.5
Assignee: Damian Jansen
QA Contact: Zanata-QA Mailling List
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-12 05:20 UTC by Damian Jansen
Modified: 2015-01-26 23:28 UTC (History)
2 users (show)

Fixed In Version: 3.5.0-SNAPSHOT (git-jenkins-zanata-server-github-pull-requests-1873)
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-01-26 23:28:02 UTC
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description Damian Jansen 2013-06-12 05:20:51 UTC
Description of problem:
Help / error dialog does not indicate the use of period (".")

Version-Release number of selected component (if applicable):
3.0

How reproducible:
Always

Steps to Reproduce:
1. Go to http://(zanata-host)/zanata/version-group/list
2. Click Create Group
3. Enter a group ID of My\Group
4. Error shows "must start and end with letter or number, and contain only letters, numbers, underscores and hyphens."
5. Enter a group ID of My.Group
6. Add a group name, press Create

Actual results:
Group is created.

Expected results:
According to help / error bubble, . is not an acceptable character, so either the help is inaccurate or the check is flawed.

Additional info:

Comment 1 Damian Jansen 2013-06-17 01:32:50 UTC
User can also use { and }
The pattern in SlugValidator.java reads
"[a-zA-Z0-9]+([a-zA-Z0-9_\\-{.}]*[a-zA-Z0-9]+)?"

I'm expecting this is correct, i.e. some thought has gone into adding the {.}
These characters do not appear to have any adverse effects on creating a group.

Comment 2 Damian Jansen 2014-07-28 03:44:10 UTC
https://github.com/zanata/zanata-server/pull/541

Comment 3 Ding-Yi Chen 2014-08-11 06:59:07 UTC
VERIFIED with Zanata 3.5.0-SNAPSHOT (git-jenkins-zanata-server-github-pull-requests-1873)


Note You need to log in before you can comment on or make changes to this bug.