Bugzilla – Bug 5819
Removing subscription resources with SubscriptionRemovalHelper
Last modified: 2008-03-13 07:52:00
You need to log in before you can comment on or make changes to this bug.
SubscriptionRemovalHelper.removeSubscriptions(String,ResourceKey) calls SubscriptionHome.remove(String,ResourceKey). Here the subscription resource is removed directly from the hashtable instead of calling ResourceHomeImpl.remove(). This way the remove() function (RemoveCallback) of the subscription resource is not called and thus the subscription resource does not unregister itself from the producer resource. Is this intended?
I agree that the ResourceHomeImpl base class remove(ResourceKey) method should be invoked here, rather than removing the resource from the hashtable directly. I don't really know what the original intention was, but I will start working on a patch for this.
A fix for this has been committed to trunk. Martin, can you verify the fix for your use case in GRAM?
yes, thanks, works fine for me. i think we can close this one.
Based on Martin's comments closing this bug.