[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-3993) FacesExpressions incorrectly shares ELContext

Norman Richards (JIRA) jira-events at lists.jboss.org
Thu Mar 5 15:47:22 EST 2009


    [ https://jira.jboss.org/jira/browse/JBSEAM-3993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12455716#action_12455716 ] 

Norman Richards commented on JBSEAM-3993:
-----------------------------------------

This is a really tough issue for which there may be no solution.  The core of the problem is that the our expression evaluation uses FacesExpressions which grabs the shared ELContext from FacesContext.  If we happen to do this while we are currently evaluating an expression, the ELContext can get marked as resolved and an expression might be incorrectly evaluated as null.   The circumstances for this to occur are fairly rare.  (one instance is JBSEAM-3994)  I have a feeling this might be causing some of those weird hard to reproduce cases of Seam expressions not evaluating correctly.

Looking at FacesExpressions, I'm assuming we really do want the Faces ELContext, but JSF doesn't provide us a way to get anything but a shared instance.  I don't know how to solve this.

> FacesExpressions incorrectly shares ELContext
> ---------------------------------------------
>
>                 Key: JBSEAM-3993
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3993
>             Project: Seam
>          Issue Type: Feature Request
>    Affects Versions: 2.1.1.CR2
>            Reporter: Norman Richards
>            Assignee: Norman Richards
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list