Bug 824805 - [UserPortal] When VM Pool an VM has the same name, UserPortal extended view freezes
Summary: [UserPortal] When VM Pool an VM has the same name, UserPortal extended view f...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-userportal
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.1
Assignee: Tomas Jelinek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-24 10:10 UTC by Tomas Jelinek
Modified: 2012-08-09 08:06 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-09 08:06:27 UTC
oVirt Team: ---
Embargoed:


Attachments (Terms of Use)

Description Tomas Jelinek 2012-05-24 10:10:09 UTC
Steps to Reproduce:
1. Create a VM named "some" and VM Pool named "some"
2. Give them proper permissions so the UserPortal's extended view's VM side tab will show them (note that unlike WebAdmin, UserPortal's VM side tab shows both VMs and Pools)
3. Open UserPortal extended view
  
Actual results:
The window freezes

Additional info:

The problem is 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.

Comment 1 Tomas Jelinek 2012-05-24 12:04:22 UTC
in gerrit: http://gerrit.ovirt.org/#change,4754

Comment 2 Vojtech Szocs 2012-05-25 15:49:22 UTC
Patch merged upstream.

Comment 3 Itamar Heim 2012-08-09 08:06:27 UTC
closing ON_QA bugs as oVirt 3.1 was released:
http://www.ovirt.org/get-ovirt/


Note You need to log in before you can comment on or make changes to this bug.