You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Richard S. Hall (JIRA)" <ji...@apache.org> on 2011/07/11 20:23:03 UTC
[jira] [Created] (FELIX-3033) [Framework] Service registry hooks
are not correctly filtering bundle contexts for event hook
[Framework] Service registry hooks are not correctly filtering bundle contexts for event hook
---------------------------------------------------------------------------------------------
Key: FELIX-3033
URL: https://issues.apache.org/jira/browse/FELIX-3033
Project: Felix
Issue Type: Bug
Components: Framework, Specification compliance
Affects Versions: framework-3.2.2
Reporter: Richard S. Hall
Assignee: Richard S. Hall
Fix For: framework-4.0.0
When calling out to service registry EventHooks, the collection of bundle contexts is being treated as a list with duplicates when it should be treated as a set without duplicates. The end result being, if a hook removes a bundle context from the set, then it effectively filters all listeners from that bundle context. The current implementation allows a hook to remove a single listener, which is not correct.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (FELIX-3033) [Framework] Service registry hooks are
not correctly filtering bundle contexts for event hook
Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-3033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard S. Hall closed FELIX-3033.
----------------------------------
Resolution: Fixed
Committed a fix in trunk.
> [Framework] Service registry hooks are not correctly filtering bundle contexts for event hook
> ---------------------------------------------------------------------------------------------
>
> Key: FELIX-3033
> URL: https://issues.apache.org/jira/browse/FELIX-3033
> Project: Felix
> Issue Type: Bug
> Components: Framework, Specification compliance
> Affects Versions: framework-3.2.2
> Reporter: Richard S. Hall
> Assignee: Richard S. Hall
> Fix For: framework-4.0.0
>
>
> When calling out to service registry EventHooks, the collection of bundle contexts is being treated as a list with duplicates when it should be treated as a set without duplicates. The end result being, if a hook removes a bundle context from the set, then it effectively filters all listeners from that bundle context. The current implementation allows a hook to remove a single listener, which is not correct.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira