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:
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.
https://github.com/zanata/zanata-server/pull/541
VERIFIED with Zanata 3.5.0-SNAPSHOT (git-jenkins-zanata-server-github-pull-requests-1873)