Gilad Chaplik has submitted this change and it was merged.
Change subject: userportal: ClassCastException when edit a VM
......................................................................
userportal: ClassCastException when edit a VM
In user portal extended view:
VM side tab -> select a VM -> press edit
A ClassCastException is thrown from the VmModelBehaviorBase.
The problem was, that it called the
AsyncDataProvider.GetIrsImageList() which returns an
ArrayList but it tried to convert it to VdcQueryReturnValue.
This patch fixes this problem.
Change-Id: Ifb88dd255ef8efc6f36b28038ed38ae48f213fac
Signed-off-by: Tomas Jelinek <tjelinek(a)redhat.com>
---
M
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/userportal/UserPortalListModel.java
M
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/VmModelBehaviorBase.java
2 files changed, 2 insertions(+), 2 deletions(-)
Approvals:
Gilad Chaplik: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/5075
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ifb88dd255ef8efc6f36b28038ed38ae48f213fac
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Tomas Jelinek <tjelinek(a)redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik(a)redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek(a)redhat.com>
Gerrit-Reviewer: Vojtech Szocs <vszocs(a)redhat.com>