Incorrect error message when creating env with invalid name
Bug #1463852 reported by
Kirill Zaitsev
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Murano |
Fix Released
|
Medium
|
Lei Zhang | ||
Kilo |
Fix Committed
|
Undecided
|
Stan Lagun |
Bug Description
Step to reproduce:
1. Navigate to Murano > Application Catalog > Environments
2. Click on 'Create Environment'
3. Enter invalid environment name "!@#$%%$$" and click on "Create"
4. Take a look at error message, it says that "Environment names must contain only alphanumeric or '_-.' characters and must start with alpha "
5. Enter "aaaaa_-." name and click on "Create"
Observed result:
"aaaa_-." name is invalid
Changed in murano: | |
status: | New → Confirmed |
tags: | added: low-hanging-fruit |
Changed in murano: | |
milestone: | none → 2014.2.3 |
Changed in murano: | |
assignee: | nobody → Lei Zhang (lei-a-zhang) |
Changed in murano: | |
status: | Confirmed → In Progress |
Changed in murano: | |
status: | In Progress → Fix Committed |
Changed in murano: | |
status: | Fix Committed → Fix Released |
no longer affects: | murano/juno |
tags: | removed: juno-backport-potential |
tags: | added: in-stable-kilo |
To post a comment you must log in.
hi, after checking source code I found the name validator is '^[a-zA- Z]+[\w- ]*$', so I guess just fixing help text of the form is OK, no need to change the rule of environment name validation, right?