]
Martin Kouba reassigned WFLY-7353:
----------------------------------
Assignee: Martin Kouba (was: Stuart Douglas)
CDI bean-discovery-mode does not default to "annotated"
-------------------------------------------------------
Key: WFLY-7353
URL:
https://issues.jboss.org/browse/WFLY-7353
Project: WildFly
Issue Type: Feature Request
Components: CDI / Weld
Affects Versions: 10.0.0.Final
Environment: EAP 7.0.2
Reporter: Teresa Miyar
Assignee: Martin Kouba
Labels: support
Attachments: demo-war-2.zip
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.