[ http://issues.apache.org/jira/browse/FELIX-53?page=all ]
     
Marcel Offermans resolved FELIX-53:
-----------------------------------

    Resolution: Fixed

Committed a fix for this problem (earlier).

> Calling remove(dependency) on a service managed by the dependency manager 
> fails under specific circumstances
> ------------------------------------------------------------------------------------------------------------
>
>          Key: FELIX-53
>          URL: http://issues.apache.org/jira/browse/FELIX-53
>      Project: Felix
>         Type: Bug

>   Components: Dependency Manager
>     Reporter: Marcel Offermans
>     Assignee: Marcel Offermans
>     Priority: Minor

>
> In ServiceImpl:
> >>         else if ( getState() == ServiceMonitor.WAITING_FOR_REQUIRED )
> >>         {
> >>             // if we're waiting for required dependencies, then
> >>             // we only need to stop tracking the dependency if it
> >>             // too is required; this might trigger a state change
> But! Contrary to my comments in the code I actually do not check if the  
> dependency is required, so that is an issue, because if it is an optional 
> dependency and we're still waiting for the required dependencies, then this 
> optional dependency will not have been started yet. That means we should not 
> stop it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to