You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "James G (JIRA)" <de...@myfaces.apache.org> on 2014/02/17 04:13:19 UTC

[jira] [Created] (MYFACES-3857) Unbalanced pushComponentToEL/popComponentFromEL in processUpdates

James G created MYFACES-3857:
--------------------------------

             Summary: Unbalanced pushComponentToEL/popComponentFromEL in processUpdates
                 Key: MYFACES-3857
                 URL: https://issues.apache.org/jira/browse/MYFACES-3857
             Project: MyFaces Core
          Issue Type: Bug
          Components: JSR-314
    Affects Versions: 2.1.14
         Environment: Linux, Tomcat 7
            Reporter: James G


I discovered this through some complicated use of composite components but the issue is that during process updates if a component is not rendered (rendered=false) then it is pushed on the component stack but never popped.  This bug has existed since version 2.1.2.
The affected method is javax.faces.component.UIComponentBase.processUpdates(FacesContext)

The code is
...
pushComponentToEL(context, this);
if (_isPhaseExecutable(context))
{
...
    popComponentFromEL(context);
}
...




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)