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
Steps to Reproduce:
1. Deploy a jar library into AS5 server resource
2. On the content tab, select it and delete it
The jar remains in the list of deployed packages
The jar should not be there
Author: Lukas Krejci <email@example.com>
Date: Tue May 20 15:19:06 2014 +0200
[BZ 1099497] Discover resource packages after package removal.
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.