Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3857

Unbalanced pushComponentToEL/popComponentFromEL in processUpdates

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.14
    • 2.0.21, 2.1.15, 2.2.1
    • JSR-314
    • None
    • Linux, Tomcat 7

    Description

      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);
      }
      ...

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            jgoodfe James G
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: