Bug 973509
| Summary: | User not aware they can use other characters in Group ID | ||
|---|---|---|---|
| Product: | [Retired] Zanata | Reporter: | Damian Jansen <djansen> |
| Component: | Component-UI | Assignee: | Damian Jansen <djansen> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Zanata-QA Mailling List <zanata-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | development | CC: | dchen, zanata-bugs |
| Target Milestone: | --- | ||
| Target Release: | 3.5 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| 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: | --- | Target Upstream Version: | |
| Embargoed: | |||
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.
VERIFIED with Zanata 3.5.0-SNAPSHOT (git-jenkins-zanata-server-github-pull-requests-1873) |
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: