Bug 536584 (RHQ-919) - InventoryManager.mergeResource(Resource) recurses when it should not
Summary: InventoryManager.mergeResource(Resource) recurses when it should not
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: RHQ-919
Product: RHQ Project
Classification: Other
Component: Plugin Container
Version: 1.0.1
Hardware: All
OS: All
medium
medium
Target Milestone: ---
: ---
Assignee: RHQ Project Maintainer
QA Contact: Mike Foley
URL: http://jira.rhq-project.org/browse/RH...
Whiteboard:
Depends On:
Blocks: rhq_triage
TreeView+ depends on / blocked
 
Reported: 2008-10-02 12:44 UTC by Ian Springer
Modified: 2014-05-15 21:33 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-05-15 21:33:07 UTC
Embargoed:


Attachments (Terms of Use)

Description Ian Springer 2008-10-02 12:44:00 UTC
It should only recurse if the Resource that was passed in has children, but it currently recurses on the children of the merged Resource (i.e. even if the merged Resource was an existing Resource). This results in a bunch of unnecessary work being done when merging a modified Resource (i.e. all of its descendants are also "merged" with themselves).


Comment 1 Red Hat Bugzilla 2009-11-10 21:19:37 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-919


Comment 2 wes hayutin 2010-02-16 16:54:18 UTC
Temporarily adding the keyword "SubBug" so we can be sure we have accounted for all the bugs.

keyword:
new = Tracking + FutureFeature + SubBug

Comment 3 wes hayutin 2010-02-16 16:59:39 UTC
making sure we're not missing any bugs in rhq_triage

Comment 4 Corey Welton 2010-10-05 13:36:42 UTC
Triaged 30-Sep


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