[ 
https://issues.apache.org/jira/browse/FELIX-1414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Felix Meschberger closed FELIX-1414.
------------------------------------


SCR 1.2.0 has been released. Close all issues.

> Service ranking is only obeyed on first component activation
> ------------------------------------------------------------
>
>                 Key: FELIX-1414
>                 URL: https://issues.apache.org/jira/browse/FELIX-1414
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR), Specification compliance
>    Affects Versions: scr-1.0.8
>            Reporter: Felix Meschberger
>             Fix For: scr-1.2.0
>
>
> As of FELIX-950 (released with scr 1.0.8) and FELIX-1213 (not released yet) 
> unary services bindings are replaced if a new service is registered with a 
> higher service ranking than the already bound service.
> It has been clarified in the OSGi dev list thread "Questions on DS Spec" [1] 
> that a service once bound is only replaced if it ceaces to be a target either 
> by the service being unregistered of the target filter not matching any 
> longer. Service ranking is only obeyed upon first binding of a service to the 
> component.
> To fix we have to revert the fixes for FELIX-950 and FELIX-1213.
> [1] http://www.mail-archive.com/[email protected]/msg00883.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to