Bug 1099497

Summary: Content not rediscovered after package removal
Product: [Other] RHQ Project Reporter: Lukas Krejci <lkrejci>
Component: Content, Plugin ContainerAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.12CC: hrupp
Target Milestone: ---   
Target Release: RHQ 4.12   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1099501 (view as bug list) Environment:
Last Closed: 2014-12-15 11:36:02 UTC Type: Bug
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: 1099501    

Description Lukas Krejci 2014-05-20 13:17:47 UTC
Description of problem:
When a package is removed from a resource, there is an immediate attempt to rediscover the packages on the resource. This is to capture the change made by the package removal.

The code errorneously uses a wrong resource id when running the discovery.

Version-Release number of selected component (if applicable):
0.1 - this seems to have been in the codebase since the dawn of time

How reproducible:
always

Steps to Reproduce:
1. Deploy a jar library into AS5 server resource
2. On the content tab, select it and delete it

Actual results:
The jar remains in the list of deployed packages

Expected results:
The jar should not be there

Additional info:

Comment 1 Lukas Krejci 2014-05-20 13:19:57 UTC
commit 8d27501568e19f159f35c83d8dcce544ad33c3d3
Author: Lukas Krejci <lkrejci>
Date:   Tue May 20 15:19:06 2014 +0200

    [BZ 1099497] Discover resource packages after package removal.

Comment 2 Heiko W. Rupp 2014-12-15 11:36:02 UTC
Bulk close of items fixed in RHQ 4.12

If you think this is not solved, then please open a *new* BZ and link to this one.