You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Marcel Offermans (JIRA)" <ji...@apache.org> on 2013/03/28 15:26:16 UTC
[jira] [Commented] (FELIX-4002) ComponentStateListener.started is
invoked twice when the listener is added in the start method.
[ https://issues.apache.org/jira/browse/FELIX-4002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13616286#comment-13616286 ]
Marcel Offermans commented on FELIX-4002:
-----------------------------------------
The testDynamicComponentStateListingLifeCycle2 test in org.apache.felix.dm.test.ComponentLifeCycleTest demonstrates this issue. It is currently failing.
> ComponentStateListener.started is invoked twice when the listener is added in the start method.
> -----------------------------------------------------------------------------------------------
>
> Key: FELIX-4002
> URL: https://issues.apache.org/jira/browse/FELIX-4002
> Project: Felix
> Issue Type: Bug
> Components: Dependency Manager
> Affects Versions: dependencymanager-3.1.0
> Reporter: Alexander Broekhuis
> Assignee: Marcel Offermans
>
> When a ComponentStateListener is added in the start lifecycle method of a component the started method is called twice. Once immediately, once if the start is returned.
> The first call is unexpected and should not happen?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira