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

tnisan at redhat.com tnisan at redhat.com
Mon Jan 25 11:42:13 UTC 2016


Tal Nisan 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
  Jenkins CI: Passed CI tests
  Martin Betak: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I390cc0f57c237c28ee1795e77fae7294d51ffec0
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.6
Gerrit-Owner: Martin Betak <mbetak at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Betak <mbetak at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan 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