Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-670

ProcessInjectionTarget event fired a bit late

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.4
    • 1.1.6
    • TCK
    • None

    Description

      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

      Attachments

        1. BeansDeployer_tckProducerTest.patch
          2 kB
          Nikolai Dokovski

        Activity

          People

            romain.manni-bucau Romain Manni-Bucau
            nickytd Nikolai Dokovski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: