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

Beans not fully initialized in AfterBeanDiscovery or InjectionPoint validation to early?

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.6.2
    • Fix Version/s: 1.6.3
    • Component/s: Core, Injection and Lookup
    • Labels:
      None

      Description

      DeltaSpike's ConverterAndValidatorProxyExtension possible adds new beans via afterBeanDiscovery#addBean and DS BeanBuilder if the JSF converter needs to be proxied.
      However, when the converter has a injectionPoint, it will be created during AfterBeanDiscovery via beanManager#createInjectionTarget but OWB always throws "no bean available for class ..."

      This works fine in older OWB versions and other containers.

        Attachments

        1. owb-ds-test.7z
          1 kB
          Thomas Andraschko

          Activity

            People

            • Assignee:
              tandraschko Thomas Andraschko
              Reporter:
              tandraschko Thomas Andraschko
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: