You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Nikolai Dokovski (JIRA)" <ji...@apache.org> on 2012/05/16 09:52:05 UTC

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

Nikolai Dokovski created OWB-670:
------------------------------------

             Summary: 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


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

        

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

Posted by "Mark Struberg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OWB-670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426912#comment-13426912 ] 

Mark Struberg commented on OWB-670:
-----------------------------------

Hi Nikolai, I gonna look into that in the next few days. Thanks for the patch so far!
                
> 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

        

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

Posted by "Romain Manni-Bucau (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OWB-670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13427146#comment-13427146 ] 

Romain Manni-Bucau commented on OWB-670:
----------------------------------------

Hi,

did you try the snapshot?

i think it was fixed
                
> 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

        

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

Posted by "Mark Struberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OWB-670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Struberg updated OWB-670:
------------------------------

    Fix Version/s: 1.1.6
    
> 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
>             Fix For: 1.1.6
>
>         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
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Posted by "Mark Struberg (JIRA)" <ji...@apache.org>.
     [ 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

        

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

Posted by "Nikolai Dokovski (JIRA)" <ji...@apache.org>.
     [ 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