Bug 1099497 - Content not rediscovered after package removal
Summary: Content not rediscovered after package removal
Alias: None
Product: RHQ Project
Classification: Other
Component: Content, Plugin Container
Version: 4.12
Hardware: Unspecified
OS: Unspecified
medium vote
Target Milestone: ---
: RHQ 4.12
Assignee: RHQ Project Maintainer
QA Contact: Mike Foley
Depends On:
Blocks: 1099501
TreeView+ depends on / blocked
Reported: 2014-05-20 13:17 UTC by Lukas Krejci
Modified: 2014-12-15 11:36 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1099501 (view as bug list)
Last Closed: 2014-12-15 11:36:02 UTC

Attachments (Terms of Use)

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:

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@redhat.com>
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.

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