Bug 536584 (RHQ-919)

Summary: InventoryManager.mergeResource(Resource) recurses when it should not
Product: [Other] RHQ Project Reporter: Ian Springer <ian.springer>
Component: Plugin ContainerAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0.1CC: ccrouch, cwelton, jshaughn
Target Milestone: ---Keywords: SubBug
Target Release: ---   
Hardware: All   
OS: All   
URL: http://jira.rhq-project.org/browse/RHQ-919
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-15 21:33:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 565628    

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