Red Hat Bugzilla – Bug 989447
[webadmin] Disallow OK with too low amount of memory specified in VM Create Dialog
Last modified: 2014-01-05 05:55:49 EST
Description of problem:
When creating a new VM and a too low (invalid?) amount of memory is specified, you're currently able to close the 'Create VM' dialog by clicking OK.
However afterwards you're getting an error that the amount of memory chosen is too low and it is not allowed.
This is, from a usability point of view, very bad as I might spend quite some time setting up all value in the dialog and then I will loose all the configuration I have set up because the input validation failed before the dialog closed.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a Virtual Machine with 64 MiB of RAM
2. Click OK
The Create VM dialog closes and an error popup dialog is shown. After clicking OK no dialog is visible and you have to start over entering all data into the dialog.
The validation of Create VM is blocked due to an invalid value for too low amount of memory.
why not fix the minimal allowed value in config (or is it in OsInfo now)?
the ui takes the value from the template but its validated against the osinfo val.
This is a more general UX issue we should address. for a start we could flag
the return value with "validation failure" and make the UI leave the dialog open in that case
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.