Change in ovirt-engine[master]: userportal: When VM Pool and VM has same name, UP freezes (#...

vszocs at redhat.com vszocs at redhat.com
Fri May 25 15:48:50 UTC 2012


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 <tjelinek at redhat.com>
---
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 <tjelinek at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik at redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: Vojtech Szocs <vszocs at redhat.com>



More information about the Engine-commits mailing list