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

Nikolai Dokovski updated OWB-670:
---------------------------------

    Attachment: BeansDeployer_tckProducerTest.patch

Patched BeansDeployer which fires the event earlier. This is just a proposal of 
eventual fix
                
> 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: Gurkan Erdogdu
>         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

        

Reply via email to