Change in ovirt-engine[ovirt-engine-3.4]: webadmin: class cast exception in AdElementListModel

Oved Ourfali has submitted this change and it was merged. Change subject: webadmin: class cast exception in AdElementListModel ...................................................................... webadmin: class cast exception in AdElementListModel A regression has been introduced by fc169177820737e984c65d930056be7e2e85d289. If there is no domain configured the search query used to return ArrayList but now it returns a Collections.emptyList() while the AdElementListModel tries to cast it to ArrayList which fails. Fixed by casting it to more general Collection. Change-Id: Ib3e3d4b18227027ca31aaab80f403c1fd813fee6 Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1081895 Signed-off-by: Tomas Jelinek <tjelinek@redhat.com> --- M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/users/AdElementListModel.java 1 file changed, 2 insertions(+), 1 deletion(-) Approvals: Tomas Jelinek: Verified Gilad Chaplik: Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/26190 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ib3e3d4b18227027ca31aaab80f403c1fd813fee6 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-3.4 Gerrit-Owner: Tomas Jelinek <tjelinek@redhat.com> Gerrit-Reviewer: Gilad Chaplik <gchaplik@redhat.com> Gerrit-Reviewer: Oved Ourfali <oourfali@redhat.com> Gerrit-Reviewer: Tomas Jelinek <tjelinek@redhat.com> Gerrit-Reviewer: automation@ovirt.org Gerrit-Reviewer: oVirt Jenkins CI Server
participants (1)
-
oourfali@redhat.com