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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.6.2
    • 1.6.3
    • Core, Injection and Lookup
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: