Bug 1390242 - an event is not raised as required in case of choosing an empty/null entry in the new list boxes
Summary: an event is not raised as required in case of choosing an empty/null entry in...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: 4.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.1.0-alpha
: 4.1.0
Assignee: Alexander Wels
QA Contact: Lucie Leistnerova
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-31 14:44 UTC by Sharon Gratch
Modified: 2017-02-15 15:04 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-02-15 15:04:26 UTC
oVirt Team: UX
Embargoed:
rule-engine: ovirt-4.1+
rule-engine: planning_ack+
oourfali: devel_ack+
pstehlik: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 66204 0 master MERGED userportal,webadmin: fire change when selecting empty 2016-11-09 13:50:39 UTC

Description Sharon Gratch 2016-10-31 14:44:24 UTC
Description of problem:
There are few list boxes in webadmin and userportal in which one of the valid values to choose from the pull down list is an empty/null value and choosing this empty/null value should raise an event/callback. 

For example:
For the webadmin/userportal-> new vm-> System tab-> Advanced Parameters-> Custom Compatibility Version field.

When you choose a value in this field, a callback is called for resetting all properties of this vm back to the template default values.
The problem is that when choosing the null/empty value, the callback is not called (it was called with the old list boxes).


Version-Release number of selected component (if applicable):
4.0.5 master - 

How reproducible:
100%

Steps to Reproduce:
1.open webadmin or userportal
2. open the "new vm" dialog and go to System tab-> Advanced Parameters and change the "Custom Compatibility Version" field value chosen to a different value (e.g. 4.0). 
You will see that the whole dialog is refreshed/reset as expected.
3. then change the "Custom Compatibility Version" field value to the null/empty value and see that the dialog is not refreshed/reset.

Actual results:
each value chosen in the listb oxes should raise an event if such is declared.

Expected results:
in case of choosing an empty entry, no event is raised even if one is declared for this list box.

Additional info:

Comment 1 Oved Ourfali 2016-11-01 12:27:19 UTC
We've moved to the new list boxes only in 4.1. Are you sure you're using 4.0.5?

Comment 2 Sharon Gratch 2016-11-01 14:29:26 UTC
(In reply to Oved Ourfali from comment #1)
> We've moved to the new list boxes only in 4.1. Are you sure you're using
> 4.0.5?
you are right, it was tested on 4.1 (master). My mistake, sorry.

Comment 3 Sandro Bonazzola 2016-12-12 14:02:09 UTC
The fix for this issue should be included in oVirt 4.1.0 beta 1 released on December 1st. If not included please move back to modified.

Comment 4 Lucie Leistnerova 2017-02-02 09:09:06 UTC
Custom Compatibility Version in VM, Pool and Template form reloads the form when changed back to empty value (both admin and user portal).
I did not find any other select of this type.

verified in ovirt-engine-4.1.0.3-0.1.el7.noarch


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