You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/06/25 10:38:04 UTC

[jira] [Commented] (ARIES-914) When using component-managed mode for managed-properties the first time 'container-managed' mode is used

    [ https://issues.apache.org/jira/browse/ARIES-914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14600876#comment-14600876 ] 

ASF GitHub Bot commented on ARIES-914:
--------------------------------------

Github user acartapanis closed the pull request at:

    https://github.com/apache/aries/pull/22


> When using component-managed mode for managed-properties the first time 'container-managed' mode is used
> --------------------------------------------------------------------------------------------------------
>
>                 Key: ARIES-914
>                 URL: https://issues.apache.org/jira/browse/ARIES-914
>             Project: Aries
>          Issue Type: Bug
>          Components: Blueprint
>    Affects Versions: 0.2, 0.3, 1.0
>            Reporter: Christoph Läubrich
>
> When using the 'managed-properties' in Blueprint with 'component-managed' mode, the first time the component start up the blueprint module tries to inject properties with the 'container-managed' mode.
> The cause of this seems that in the method 'private void inject(Object bean, boolean initial)' because if initial is true it always enter the 'container-managed' mode. Should it be an && (logical and) instead of an || (logical or) there?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)