[
https://issues.apache.org/jira/browse/FELIX-4166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Jencks closed FELIX-4166.
-------------------------------
> [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 was sent by Atlassian JIRA
(v6.1#6144)