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

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.0.0.Beta2
    • Fix Version/s: 2.0.0.Beta4
    • Component/s: None
    • Labels:
      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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jharting Jozef Hartinger
                  Reporter:
                  mkouba Martin Kouba
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: