[ 
https://issues.apache.org/jira/browse/FELIX-5775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16333216#comment-16333216
 ] 

Carsten Ziegeler commented on FELIX-5775:
-----------------------------------------

The code currently uses the component context (impl) to get the service 
registration for updating the properties. However, if the component is not 
instantiated yet, there is no component context. Therefore getting the service 
registration fails and the service properties are not updated.

> Service properties not updated for lazy service when configuration changes
> --------------------------------------------------------------------------
>
>                 Key: FELIX-5775
>                 URL: https://issues.apache.org/jira/browse/FELIX-5775
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions: scr-2.0.14
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>            Priority: Blocker
>             Fix For: scr-2.0.16, scr-2.1.0
>
>
> If a lazy component is registered as a service, and this component is taking 
> configurations, then the service properties are not updated if the component 
> instance itself has not been instantiated yet.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to