Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1236267 - Creating a new VM with invalid Name errors and exits the form
Creating a new VM with invalid Name errors and exits the form
Status: CLOSED ERRATA
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine (Show other bugs)
3.5.3
All Linux
medium Severity medium
: ovirt-3.6.0-rc
: 3.6.0
Assigned To: jniederm
Ilanit Stein
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-06-26 23:55 EDT by Ulhas Surse
Modified: 2016-04-12 06:28 EDT (History)
9 users (show)

See Also:
Fixed In Version: 3.6.0-4 alpha3
Doc Type: Bug Fix
Doc Text:
In the Edit Virtual Machine dialog, if an invalid name was entered, the dialog closed and a server-side error was reported. With this update, an invalid virtual machine name is handled in the standard way. The field is highlighted with a red border.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-03-09 16:09:10 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Virt
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
after error, the form closes and need to fill the information again from start. (19.63 KB, image/png)
2015-06-26 23:57 EDT, Ulhas Surse
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 43510 master MERGED webadmin: vm-like dialogs: name validation fixed Never
Red Hat Product Errata RHEA-2016:0376 normal SHIPPED_LIVE Red Hat Enterprise Virtualization Manager 3.6.0 2016-03-09 20:20:52 EST

  None (edit)
Description Ulhas Surse 2015-06-26 23:55:13 EDT
Description of problem:

  - When creating a new vm in the admin portal, if I get an error when I click Ok after configuring my VM, the form closes and I lose all my setting and have to start over. 

  - In 3.4 the configuration error was highlighted in red but did not exit the whole form.

  - Previous version allowed you to fix the name without having to start over.

Version-Release number of selected component (if applicable):
Red Hat Enterprise Virtualization Manager 3.5.3

How reproducible:
  Always

Steps to Reproduce:
  1) From Admin Portal/Any data center/Virtual machine/New VM
  2)Set Cluster, Quota, Template (win7), Type, Network
  3)Enter an invalid name, ie to many characters, invalid characters.
  4)Select Ok
  5)Errors with attached error and exits.

Actual results:
  VM create form closes if any wrong information is filled.

Expected results:
  The form should be available to edit the wrong information.

Additional info:
Comment 1 Ulhas Surse 2015-06-26 23:57:12 EDT
Created attachment 1043835 [details]
after error, the form closes and need to fill the information again from start.
Comment 2 Michal Skrivanek 2015-06-29 05:18:28 EDT
the validation seems to be broken (again)
Comment 3 Michal Skrivanek 2015-06-29 06:40:10 EDT
(In reply to Michal Skrivanek from comment #2)
> the validation seems to be broken (again)

in master - ??? pattern in pool dialog is broken too.
Comment 4 Ilanit Stein 2015-10-15 07:57:13 EDT
Verified on 3.6.0-15

For invalid VM name or VM pool name,
press OK highlighted in red the name field
(mentioning the problem, when pointing on it with mouse cursor),
and it didn't exit from the whole form.
Comment 7 errata-xmlrpc 2016-03-09 16:09:10 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-0376.html

Note You need to log in before you can comment on or make changes to this bug.