You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2012/08/02 08:57:02 UTC

[jira] [Resolved] (OWB-670) ProcessInjectionTarget event fired a bit late

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

Mark Struberg resolved OWB-670.
-------------------------------

    Resolution: Fixed
      Assignee: Romain Manni-Bucau  (was: Gurkan Erdogdu)

resolved by Romain. Thanks for the report Nikolai!
                
> ProcessInjectionTarget event fired a bit late
> ---------------------------------------------
>
>                 Key: OWB-670
>                 URL: https://issues.apache.org/jira/browse/OWB-670
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: TCK
>    Affects Versions: 1.1.4
>            Reporter: Nikolai Dokovski
>            Assignee: Romain Manni-Bucau
>         Attachments: BeansDeployer_tckProducerTest.patch
>
>
> org.jboss.jsr299.tck.tests.extensions.producer.ProducerTest from jboss jsr299 tck fails at testSettingInjectionTargetReplacesIt test with openwebbeans-1.1.4
> Current implementation in BeansDeployer calls fireProcessInjectionTargetEvent after defineManagedBean which prevents wrapped InjectionTargets from being called. The test case in TCK verifies exactly this behavior of the container. There is an Extension that registers an observer which when called wraps the InjectionTarget. The test expects the wrapper to be called before obtaining reference to the bean that is observed. Spec section 11.6

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira