You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Alexandre Cartapanis (JIRA)" <ji...@apache.org> on 2015/05/16 01:31:00 UTC
[jira] [Comment Edited] (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=14546378#comment-14546378 ]
Alexandre Cartapanis edited comment on ARIES-914 at 5/15/15 11:30 PM:
----------------------------------------------------------------------
Same problem here.
I even don't see why "initial" should be taken in account here...
https://github.com/apache/aries/blob/trunk/blueprint/blueprint-cm/src/main/java/org/apache/aries/blueprint/compendium/cm/CmManagedProperties.java#L202
was (Author: acartapanis):
Same problem here.
I even don't see why "initial" should be taken in account here...
> 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)