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

tnisan at redhat.com tnisan at redhat.com
Sun Dec 21 17:15:38 UTC 2014


Tal Nisan has submitted this change and it was merged.

Change subject: webadmin: Fix ClassCastException in StorageListModel
......................................................................


webadmin: Fix ClassCastException in StorageListModel

Due to a change introduced in patch 27578 the GetHostsForStorageOperation
query returns a LinkedList instead of an ArrayList, StorageListModel
wrongly casted the result explicitely to ArrayList which resulted in a
ClassCastException making it impossible to remove a storage domain

Change-Id: I8d16d99b51dbc55be1805c832f79bdf83c1d6764
Signed-off-by: Tal Nisan <tnisan at redhat.com>
---
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/storage/StorageListModel.java
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Tal Nisan: Verified
  Allon Mureinik: Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/36325
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I8d16d99b51dbc55be1805c832f79bdf83c1d6764
Gerrit-PatchSet: 1
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: Ori Liel <oliel at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list