Bug 849751 - RFE: protect resource tree from direct navigation to a resource with many siblings
Summary: RFE: protect resource tree from direct navigation to a resource with many sib...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: 4.4
Hardware: All
OS: All
high
high
Target Milestone: ---
: RHQ 4.5.0
Assignee: Jay Shaughnessy
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: 849761
TreeView+ depends on / blocked
 
Reported: 2012-08-20 18:51 UTC by Jay Shaughnessy
Modified: 2013-09-01 10:17 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-01 10:17:53 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 847014 0 medium CLOSED Resource tree not complete when more than 200 children 2021-02-22 00:41:40 UTC

Internal Links: 847014

Description Jay Shaughnessy 2012-08-20 18:51:31 UTC
The fix for bug 847014 introduced bounded, predictable expansion for resource tree child nodes.

This means that if a node in a tree (a parent resource) has perhaps thousands of children, that we protect against pulling an unlimited amount of data into the tree.

We have the same issue when a user navigates directly to a resource that may have thousands of siblings (via a link or bookmark).  We need to protect the tree from an unbounded fetch.

Comment 1 Jay Shaughnessy 2012-08-20 19:03:50 UTC
master commit 414ccdf3fd964dc6d64abe511ec02f4e9170aa40

Apply the new ResourceManager.findResourcesByCriteriaBounded() method
to getResourceLineageAndSiblings() in order to similarly bound the initial
tree building fetch.  Currently getResourceLineageAndSiblings() will use
the defaults applied to findResourcesByCriteriaBounded(), although we may
find that providing separate overrides will be useful.


Test Notes:
The initial fetch will no longer be unbounded so it's possible that users that previously did not see any truncation may not see it. But it's unlikely as by default we still pull up to 1000 siblings.

Testing could be easier by setting overrides to smaller numbers (see bug 847014 for more on how to do that) testing may be easier.  In all cases the resource being navigated to should show up in the tree, even if it is at the bottom of many siblings.

Comment 2 Heiko W. Rupp 2013-09-01 10:17:53 UTC
Bulk closing of items that are on_qa and in old RHQ releases, which are out for a long time and where the issue has not been re-opened since.


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