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

ProcessInjectionTarget event fired a bit late

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.4
    • Fix Version/s: 1.1.6
    • Component/s: TCK
    • Labels:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: