Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-1297

It's not possible to lookup injectable reference for an InjectionPoint from inside a custom dependent bean's create() method

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.0.0.Beta4
    • 2.0.0.Beta2
    • None
    • None

    Description

      The problem occurs during validation of the created IP.

      BeanManagerImpl.validateInjectionPoint() invokes Validator.validateInjectionPointForDefinitionErrors() with null bean param and thus validation results in INJECTION_INTO_NON_BEAN.

      See also TCK test:
      org.jboss.cdi.tck.tests.extensions.afterBeanDiscovery.AfterBeanDiscoveryTest

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-jharting Jozef Hartinger
              mkouba@redhat.com Martin Kouba
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: