You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2009/07/31 17:08:15 UTC
[jira] Updated: (FELIX-1162) Component.getReferences returns null
if a component that has references is not enabled.
[ https://issues.apache.org/jira/browse/FELIX-1162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger updated FELIX-1162:
-------------------------------------
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.
> Component.getReferences returns null if a component that has references is not enabled.
> ---------------------------------------------------------------------------------------
>
> Key: FELIX-1162
> URL: https://issues.apache.org/jira/browse/FELIX-1162
> Project: Felix
> Issue Type: Bug
> Components: Declarative Services (SCR)
> Affects Versions: scr-1.0.8
> Reporter: Agemo Cui
> Assignee: Felix Meschberger
> Priority: Minor
> Fix For: scr-1.2.0
>
> Attachments: FELIX-1162.patch
>
>
> The implementation of method {color:blue}org.apache.felix.scr.Component.getReferences{color} in class {color:blue}org.apache.felix.scr.impl.AbstractComponentManager{color} doesn't use {color:red}m_componentMetadata{color} but {color:red}m_dependencyManagers{color} to return the service references of a component, which causes a calling of {color:blue}getReferences{color} to return null before "enable component" is scheduled.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.