Floating and negative values accepted in volume size field.

Bug #1803486 reported by Vishal Manchanda
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Confirmed
Medium
Vishal Manchanda

Bug Description

As we know that in cinder, volume size cannot be a decimal value, only integer values are accepted.
So when a user create a volume from horizon,horizon allows user to enter a decimal value or negative value in Size (GiB) field.
obviously, user can't create a volume in decimal size as there are some validation on create button,
But we can enforce more validation on the volume Size field (like user can't enter alphabets which is currently enforced), we shouldn't allow negative symbol '-' and decimal point '.' in the field too, So the user can only enter number from (0-9).

Changed in horizon:
assignee: nobody → Vishal Manchanda (vishalmanchanda)
Ivan Kolodyazhny (e0ne)
Changed in horizon:
importance: Undecided → Medium
status: New → Won't Fix
Revision history for this message
Akihiro Motoki (amotoki) wrote :

Ivan, what is the reason of "Won't Fix"?

I set the status to Confirmed.

Changed in horizon:
status: Won't Fix → Confirmed
Revision history for this message
Ivan Kolodyazhny (e0ne) wrote :

I'm sorry, Akihiro. I did it by mistake:(

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.