Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-7353

CDI bean-discovery-mode does not default to "annotated"

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Won't Do
    • Major
    • None
    • 10.0.0.Final
    • CDI / Weld

    Description

      bean-discovery-mode does not default to "annotated" when you have a beans.xml version 1.1 without setting the discovery mode. That means that the bean without annotation gets injected.
      To reproduce:
      Download attached war, run into EAP 7.0.2, point browser to demo-war/servlet, check logs
      result:
      I see the log from bean call
      expected result:
      either WFLYCTL0184: New missing/unsatisfied dependencies on startup, or null pointer exception when accessing the servlet.

      Attachments

        Activity

          People

            mkouba@redhat.com Martin Kouba
            rhn-support-tmiyargi Teresa Miyar Gil (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: