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/05/25 14:33:45 UTC

[jira] Assigned: (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 reassigned FELIX-1162:
----------------------------------------

    Assignee: Felix Meschberger

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