David Jencks created FELIX-4166:
-----------------------------------

             Summary: [DS] Removing required dependency before component is 
created leaves service registered
                 Key: FELIX-4166
                 URL: https://issues.apache.org/jira/browse/FELIX-4166
             Project: Felix
          Issue Type: Bug
          Components: Declarative Services (SCR)
    Affects Versions: scr-1.8.0
            Reporter: David Jencks
            Assignee: David Jencks
             Fix For: scr-1.8.0


Scenario: delayed component with a required service.  Start with the required 
service registered, and enable the component.  It will move to registered 
state, and create a service registration.  Now remove the dependency before 
obtaining the service from the service registration.  The component remains in 
the Registered state and the service remains registered even though the 
component is in fact now unsatisfied.

I think this is a problem with all mandatory dependencies (1..1, 1..n, static, 
dynamic).

--
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

Reply via email to