Project

General

Profile

Actions

Bug #27703

closed

[Kubevirt-Foreman] Compute profile edit form has no validation for Storage size

Added by Shira Maximov almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1737418

Description of problem:
The Compute profile edit form allows a user to enter invalid value, there is no validation performed.

Version-Release number of selected component (if applicable):
Satellite 6.6.0 snap 14:
satellite-6.6.0-5.beta.el7sat.noarch
tfm-rubygem-foreman_kubevirt-0.1.4-1.el7sat.noarch
tfm-rubygem-fog-kubevirt-1.3.1-1.el7sat.noarch

How reproducible:
always

Steps to Reproduce:
1. Go to Infrastructure > Compute resources > select kubevirt CR > Compute profiles
2. Click some profile or create a new one.
3. Click '+Add volume' and input requried size.

Actual results:
Any input string (text) is accepted with no error message.

Expected results:
Only numbers and valid units (MGTPE) should be accepted.

Additional info:
Similar to this BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1700769

Actions #1

Updated by Shira Maximov almost 6 years ago

  • Status changed from New to Closed
Actions #2

Updated by Shira Maximov almost 6 years ago

  • Pull request https://github.com/theforeman/foreman_kubevirt/pull/118 added
Actions #3

Updated by Shira Maximov almost 6 years ago

  • Fixed in Releases foreman_kubevirt_v0.1.5 added
Actions

Also available in: Atom PDF