Vojtech Szocs has submitted this change and it was merged.

Change subject: userportal: When VM Pool and VM has same name, UP freezes 
(#824805)
......................................................................


userportal: When VM Pool and VM has same name, UP freezes (#824805)

https://bugzilla.redhat.com/824805

The problem was in the org.ovirt.engine.ui.uicommonweb.Linq
class in the Sort method called from
the UserPortalListModel.OnVmAndPoolLoad(). This sort method
can not deal with the situation that two values are equal and
causes infinite loop.

Solved by changing it's implementation to call Collections.sort()

Change-Id: Ie9cbb4e0fcc66af591ce33fc617398d8c9483b36
Signed-off-by: Tomas Jelinek <[email protected]>
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/Linq.java
1 file changed, 2 insertions(+), 17 deletions(-)

Approvals:
  Vojtech Szocs: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie9cbb4e0fcc66af591ce33fc617398d8c9483b36
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Tomas Jelinek <[email protected]>
Gerrit-Reviewer: Daniel Erez <[email protected]>
Gerrit-Reviewer: Gilad Chaplik <[email protected]>
Gerrit-Reviewer: Tomas Jelinek <[email protected]>
Gerrit-Reviewer: Vojtech Szocs <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to