[ui] Data fields on settings page are not validated.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Fuel for OpenStack |
Medium
|
Kate Pimenova |
Bug Description
Steps to reproduce:
1. Create new cluster with any configuration.
2. Enter settings tab.
3. Enter 4 space symbols as admin name, erase values for admin password and tenant tenant, enter any symbols without "@" to e-mail.
4. Press "Save settings".
5. Add nodes, deploy cluster.
Expected result:
There is an error message on settings page, or at least at deployment start.
Actual result:
No error messages, cluster deployment starts successfully.
Changed in fuel: | |
importance: | Undecided → High |
importance: | High → Medium |
Changed in fuel: | |
assignee: | Dmitry Pyzhov (lux-place) → Vitaly Kramskikh (vkramskikh) |
Changed in fuel: | |
milestone: | none → 4.1 |
tags: | removed: fuelmenu library |
Changed in fuel: | |
assignee: | Vitaly Kramskikh (vkramskikh) → Fuel Python Team (fuel-python) |
Changed in fuel: | |
status: | New → Confirmed |
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → Fuel UI Team (fuel-ui) |
Changed in fuel: | |
assignee: | Fuel UI Team (fuel-ui) → Julia Aranovich (jkirnosova) |
Changed in fuel: | |
status: | Confirmed → In Progress |
Changed in fuel: | |
milestone: | 4.1 → 5.0 |
Changed in fuel: | |
assignee: | Julia Aranovich (jkirnosova) → Vitaly Kramskikh (vkramskikh) |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit 3e499b1d1f64d0a
Author: Julia Aranovich <email address hidden>
Date: Tue Mar 11 13:22:17 2014 +0400
OpenStack Settings tab UI validation
Closes-Bug: #1251232
Change-Id: I047f431e034a4f
Changed in fuel: | |
status: | In Progress → Fix Committed |
Bug is still reproducable on {"build_id": "2014-04-
Cluster deployment starts and ends up with errors on controller and compute nodes (see diagnostic snapshot)
Andrey Sledzinskiy (asledzinskiy) wrote : | #4 |
Changed in fuel: | |
status: | Fix Committed → New |
Changed in fuel: | |
assignee: | Vitaly Kramskikh (vkramskikh) → Julia Aranovich (jkirnosova) |
Julia Aranovich (jkirnosova) wrote : | #5 |
This issue refers to https:/
Regexps should be added in openstack.yaml configuration file.
Changed in fuel: | |
assignee: | Julia Aranovich (jkirnosova) → nobody |
Changed in fuel: | |
assignee: | nobody → Fuel Python Team (fuel-python) |
Changed in fuel: | |
milestone: | 5.0 → 5.1 |
Changed in fuel: | |
status: | New → Confirmed |
tags: | added: low-hanging-fruit |
summary: |
- Data fields on settings page are not validated. + [ui] Data fields on settings page are not validated. |
Changed in fuel: | |
milestone: | 5.1 → 6.0 |
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → Przemyslaw Kaminski (pkaminski) |
Przemyslaw Kaminski (pkaminski) wrote : | #6 |
Here are the relevant regexpes in openstack.yaml:
attributes_
editable:
access:
metadata:
label: "Access"
weight: 10
user:
value: "admin"
label: "username"
weight: 10
type: "text"
regex:
email:
value: "admin@localhost"
label: "email"
weight: 40
type: "text"
regex:
tenant:
value: "admin"
label: "tenant"
weight: 30
type: "text"
regex:
password:
value: "admin"
label: "password"
weight: 20
type: "password"
regex:
I'd add a 'required' option so that we can replace those '.*'. This was tested as working against current master (35946b1f225c98
Changed in fuel: | |
assignee: | Przemyslaw Kaminski (pkaminski) → Fuel Python Team (fuel-python) |
Changed in fuel: | |
milestone: | 6.0 → 6.1 |
tags: | removed: low-hanging-fruit |
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → Kate Pimenova (kpimenova) |
Fix proposed to branch: master
Review: https:/
Changed in fuel: | |
status: | Confirmed → In Progress |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit 83d649fcb8e8f5d
Author: Kate Pimenova <email address hidden>
Date: Wed Feb 18 15:12:50 2015 +0300
Validation data fields on settings page
Closes-
Change-Id: I1d9a0c8e0123dc
Changed in fuel: | |
status: | In Progress → Fix Committed |
Anastasia Palkina (apalkina) wrote : | #9 |
Verified on ISO #135
"build_id": "2015-02-
Changed in fuel: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/70334
Review: https:/