Change in ovirt-engine[master]: webadmin: Fix ClassCastException in SearchableListModel

Tomas Jelinek has submitted this change and it was merged. Change subject: webadmin: Fix ClassCastException in SearchableListModel ...................................................................... webadmin: Fix ClassCastException in SearchableListModel When new items are selected and determineSelectedItems tries to restore the selection, it blindly assumes that the list item is a subclass of IVdcQueryable which is now always the case: e.g. in the ImportVmModel. Change-Id: I679f132a2d23e285bd12380837d9eea58fb5f55d Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1293269 Signed-off-by: Martin Betak <mbetak@redhat.com> --- M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/SearchableListModel.java A frontend/webadmin/modules/uicommonweb/src/test/java/org/ovirt/engine/ui/uicommonweb/models/SearchableListModelTest.java 2 files changed, 41 insertions(+), 3 deletions(-) Approvals: Jenkins CI: Passed CI tests Martin Betak: Verified Vojtech Szocs: Looks good to me, approved -- To view, visit https://gerrit.ovirt.org/52694 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I679f132a2d23e285bd12380837d9eea58fb5f55d Gerrit-PatchSet: 5 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Martin Betak <mbetak@redhat.com> Gerrit-Reviewer: Jakub Niedermertl <jniederm@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Martin Betak <mbetak@redhat.com> Gerrit-Reviewer: Tomas Jelinek <tjelinek@redhat.com> Gerrit-Reviewer: Vojtech Szocs <vszocs@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
tjelinek@redhat.com