Issue Type: Bug Bug
Affects Versions: 1.1.10.Final, 1.1.5.Final
Assignee: Jozef Hartinger
Components: Web Tier integration (JSF, JSP, EL and Servlet)
Created: 10/Dec/12 3:28 PM
Description:

An exception is thrown when accessing an @Dependent scoped bean via ELResolver#getValue obtained from JSF FacesContext/Application, OTOH injection does work when accessed via ValueExpression#getValue (also obtained from JSF FacesContext/Application).

The exception contains the message: "No CreationalContext registered for EL evaluation, it is likely that the the expression factory has not been wrapped by the CDI BeanManager, which must be done to use the ELResolver from CDI".

Discussion took place on MyFaces-Users mailing list, started with a MyFaces CODI/ExtVal startup problem (ExtVal startup failing to obtain an @Dependent bean via ELResolver#getValue), and resulted in Gerhard Petracek and Brian Leathem confirming the bug. Jozef Harting asked me to open this issue and attach an example.

Environment: JBoss AS 7.1.1.Final and JBoss AS 7.2.0.Alpha1-SNAPSHOT
Project: Weld
Priority: Major Major
Reporter: Gerald Turner
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira