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

Unbalanced pushComponentToEL/popComponentFromEL in processUpdates

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.14
    • Fix Version/s: 2.0.21, 2.1.15, 2.2.1
    • Component/s: JSR-314
    • Labels:
      None
    • Environment:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: