You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2013/10/03 21:06:42 UTC

[jira] [Resolved] (ARIES-1120) getComponentIds returns the context/bundle/etc... even during a reset

     [ https://issues.apache.org/jira/browse/ARIES-1120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved ARIES-1120.
--------------------------------

       Resolution: Fixed
    Fix Version/s: blueprint-core-1.2.1

> getComponentIds returns the context/bundle/etc... even during a reset
> ---------------------------------------------------------------------
>
>                 Key: ARIES-1120
>                 URL: https://issues.apache.org/jira/browse/ARIES-1120
>             Project: Aries
>          Issue Type: Bug
>          Components: Blueprint
>            Reporter: Daniel Kulp
>            Assignee: Daniel Kulp
>             Fix For: blueprint-core-1.2.1
>
>
> A bundle refresh will cause the componentDefinitionRegistry to be reset() (which is OK).  However, if a call is made to  getComponentIds() between the reset call and the call to populate the registry, the returned Set contains entries for blueprintContainer, blueprintBundle, blueprintBundleContext, and blueprintConverter. If you then try to lookup the metadata for those, an exception is thrown.   
> Likely the call to getComponentIds() should not automatically add those.  In addition, immediately after reset, we should re-add those to make sure they are available.



--
This message was sent by Atlassian JIRA
(v6.1#6144)