Change in ovirt-engine[master]: webadmin: Fix ClassCastException when importing template
tnisan at redhat.com
tnisan at redhat.com
Wed May 18 16:24:17 UTC 2016
Tal Nisan has submitted this change and it was merged.
Change subject: webadmin: Fix ClassCastException when importing template
......................................................................
webadmin: Fix ClassCastException when importing template
When importing a template from an export domain a ClassCastException is
thrown when selecting the template, this is caused since the general model
in the subtabs expects an entity of VmTemplate type while the entity in
the import template model is ImportTemplateData, this was fixed by
extending the general template model and casting the entity correctly.
Change-Id: I0fec7efabeeaf5faab73dc3e13504592e7c01aa1
Bug-Url: https://bugzilla.redhat.com/1335502
Signed-off-by: Tal Nisan <tnisan at redhat.com>
---
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/templates/ImportTemplateModel.java
A frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/templates/TemplateImportGeneralModel.java
2 files changed, 15 insertions(+), 4 deletions(-)
Approvals:
Tal Nisan: Verified; Looks good to me, approved
Jenkins CI: Passed CI tests
--
To view, visit https://gerrit.ovirt.org/57447
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I0fec7efabeeaf5faab73dc3e13504592e7c01aa1
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>
More information about the Engine-commits
mailing list