Alexander Wels has uploaded a new change for review.

Change subject: userportal: resources->quota updating
......................................................................

userportal: resources->quota updating

- Fixed resources quota class cast exception causing
quota not to update.

Change-Id: Iefbbd93e407f40070bf187557560fb2f73a41c0b
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=928967
Signed-off-by: Alexander Wels <aw...@redhat.com>
---
M 
frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/widget/resources/VmTable.java
1 file changed, 4 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/62/14062/1

diff --git 
a/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/widget/resources/VmTable.java
 
b/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/widget/resources/VmTable.java
index adeb16c..a16bf9d 100644
--- 
a/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/widget/resources/VmTable.java
+++ 
b/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/widget/resources/VmTable.java
@@ -133,7 +133,10 @@
     private void clearTreeItems(TreeItem node) {
         int nodeCount = node.getChildCount();
         for (int i = 0; i < nodeCount; i++) {
-            clearTreeItems((VmTreeItem) node.getChild(i));
+            TreeItem child = node.getChild(i);
+            if(child instanceof VmTreeItem) {
+                clearTreeItems((VmTreeItem) child);
+            }
         }
         if (node instanceof VmTreeItem) {
             ((VmTreeItem) node).reset();


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iefbbd93e407f40070bf187557560fb2f73a41c0b
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alexander Wels <aw...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to