Change in ovirt-engine[master]: webadmin: Fix NPE during OS selection

derez at redhat.com derez at redhat.com
Thu Jan 30 17:31:13 UTC 2014


Daniel Erez has submitted this change and it was merged.

Change subject: webadmin: Fix NPE during OS selection
......................................................................


webadmin: Fix NPE during OS selection

This fixes some NPEs in the oSType_SelectedItemChanged() method of 3
behaviors associated with the UnitVmModel class. These were caused by
an implicit cast from Integer to int of the currently selected OS.

Change-Id: I94b2aef851431fad201c77eec97a74a0fe61396b
Signed-off-by: Vitor de Lima <vitor.lima at eldorado.org.br>
---
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/ExistingVmModelBehavior.java
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/NewVmModelBehavior.java
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/PoolModelBehaviorBase.java
3 files changed, 9 insertions(+), 6 deletions(-)

Approvals:
  Alexander Wels: Looks good to me, but someone else must approve
  Daniel Erez: Verified; Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/23921
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I94b2aef851431fad201c77eec97a74a0fe61396b
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Vitor de Lima <vitor.lima at eldorado.org.br>
Gerrit-Reviewer: Alexander Wels <awels at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Gustavo Frederico Temple Pedrosa <gustavo.pedrosa at eldorado.org.br>
Gerrit-Reviewer: Leonardo Bianconi <leonardo.bianconi at eldorado.org.br>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: Vitor de Lima <vitor.lima at eldorado.org.br>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list