WebUI doesn't check a field type during regex validation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
Przemyslaw Kaminski | ||
6.0.x |
Won't Fix
|
High
|
Fuel Python (Deprecated) |
Bug Description
Reproduced for ISO 6.0 GA release.
Maybe 6.1 branch is also affected.
If regexs are present for a cluster attribute and 'value' is not a string, the Cluster Settings tab doesn't show up when you click on it.
In a JS console a message appears:
"TypeError: e.value.match is not a function main.js:307:11695"
This is the code where the error occurs:
"e.regex&
How to reproduce:
1) download cluster settings via fuel-cli.
2) change ['storage'
3) upload the settings.
4) try to look at them via WebUI.
The best place to fix it it's a backend. Nailgun shouldn't accept such invalid data.
Changed in fuel: | |
assignee: | nobody → Fuel UI Team (fuel-ui) |
milestone: | none → 6.1 |
Changed in fuel: | |
status: | In Progress → Confirmed |
tags: |
added: feature-validation removed: nailgun |
Changed in fuel: | |
status: | Confirmed → In Progress |
assignee: | Fuel Python Team (fuel-python) → Przemyslaw Kaminski (pkaminski) |
Fix proposed to branch: master /review. openstack. org/176653
Review: https:/