[jira] Updated: (FELIX-1166) SCR does not rebind ConfigurationAdmin service in Sling jcrinstall tests
[ https://issues.apache.org/jira/browse/FELIX-1166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger updated FELIX-1166: - Fix Version/s: (was: scr-1.0.10) scr-1.2.0 Retargeting fixes for SCR 1.2.0 release. There will be no 1.0.10 release. > SCR does not rebind ConfigurationAdmin service in Sling jcrinstall tests > > > Key: FELIX-1166 > URL: https://issues.apache.org/jira/browse/FELIX-1166 > Project: Felix > Issue Type: Bug > Components: Declarative Services (SCR) >Affects Versions: scr-1.0.8 >Reporter: Bertrand Delacretaz >Assignee: Felix Meschberger > Fix For: scr-1.2.0 > > Attachments: FELIX-1166-reproduce.patch > > > I'm testing the Sling jcrinstall module using Pax Exam, and the SCR reference > shown below is not rebound after stopping and restarting the > org.apache.felix.configadmin bundle, and waiting up to 5 seconds. > The reference is declared like this in the OsgiControllerImpl class: > /** @scr.reference cardinality="0..1" policy="dynamic" */ > private ConfigurationAdmin configAdmin; > To reproduce, apply the attached patch to revision 776315 of > http://svn.apache.org/repos/asf/incubator/sling/trunk/contrib/extensions/jcrinstall, > and run the tests with mvn clean install. > The OsgiControllerTest.testDeferredConfigInstall test then fails, because the > ConfigurationAdmin service is not rebound to the OsgiControllerImpl class, > after waiting up to 5 seconds for that to happen. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (FELIX-1166) SCR does not rebind ConfigurationAdmin service in Sling jcrinstall tests
[ https://issues.apache.org/jira/browse/FELIX-1166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz updated FELIX-1166: --- Attachment: FELIX-1166-reproduce.patch Sling jcrinstall patch to reproduce the problem > SCR does not rebind ConfigurationAdmin service in Sling jcrinstall tests > > > Key: FELIX-1166 > URL: https://issues.apache.org/jira/browse/FELIX-1166 > Project: Felix > Issue Type: Bug > Components: Declarative Services (SCR) >Affects Versions: scr-1.0.8 >Reporter: Bertrand Delacretaz > Attachments: FELIX-1166-reproduce.patch > > > I'm testing the Sling jcrinstall module using Pax Exam, and the SCR reference > shown below is not rebound after stopping and restarting the > org.apache.felix.configadmin bundle, and waiting up to 5 seconds. > The reference is declared like this in the OsgiControllerImpl class: > /** @scr.reference cardinality="0..1" policy="dynamic" */ > private ConfigurationAdmin configAdmin; > To reproduce, apply the attached patch to revision 776315 of > http://svn.apache.org/repos/asf/incubator/sling/trunk/contrib/extensions/jcrinstall, > and run the tests with mvn clean install. > The OsgiControllerTest.testDeferredConfigInstall test then fails, because the > ConfigurationAdmin service is not rebound to the OsgiControllerImpl class, > after waiting up to 5 seconds for that to happen. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.