Factory configured ComponentFactory instances not reconfigured when 
configuration updated
-----------------------------------------------------------------------------------------

                 Key: FELIX-1952
                 URL: https://issues.apache.org/jira/browse/FELIX-1952
             Project: Felix
          Issue Type: Bug
          Components: Declarative Services (SCR)
    Affects Versions:  scr-1.4.0
            Reporter: Felix Meschberger
            Assignee: Felix Meschberger
             Fix For:  scr-1.4.2


As of FELIX-1942 instances created by ComponentFactory services are set up such 
that they are disposed off when being deactivated as required by the 
specification.

This fix now breaks the backwards compatibility functionality where the 
ComponentFactory service creates component instances using factory 
configuration.

The fix from FELIX-1942 should be adapted to only dispose off components 
created through ComponentFactory.newInstance but regularly cycle instances 
created for factory configurations.

Note, that this  behaviour is not specification compliant and thus spec 
compliant components are not susceptible to this issue.

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