Change in ovirt-engine[master]: webadmin: Fix ClassCastException when importing VMs with pin...

tjelinek at redhat.com tjelinek at redhat.com
Mon Jan 25 10:01:21 UTC 2016


Tomas Jelinek has submitted this change and it was merged.

Change subject: webadmin: Fix ClassCastException when importing VMs with pinned host
......................................................................


webadmin: Fix ClassCastException when importing VMs with pinned host

Fixed regression introduced in commit d35db9a644a8b00590553c8ba796c3378b949810
that changed VmImportGeneralModel to no longer extend VmGeneralModel, but still
treated it as such when casting the `target` of async callback.

Chnaged async callback to use outer class instead of the legacy `target`
parameter.

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1293269
Change-Id: I390cc0f57c237c28ee1795e77fae7294d51ffec0
Signed-off-by: Martin Betak <mbetak at redhat.com>
---
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/VmImportGeneralModel.java
1 file changed, 2 insertions(+), 3 deletions(-)

Approvals:
  Tomas Jelinek: Looks good to me, approved
  Jakub Niedermertl: Looks good to me, but someone else must approve
  Jenkins CI: Passed CI tests
  Martin Betak: Verified
  Arik Hadas: Looks good to me, but someone else must approve



-- 
To view, visit https://gerrit.ovirt.org/52572
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I390cc0f57c237c28ee1795e77fae7294d51ffec0
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Martin Betak <mbetak at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Jakub Niedermertl <jniederm at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Betak <mbetak at redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list