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

UIViewRoot skips uncorrectly encodeBegin

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-beta-2
    • 2.0.0-beta-2
    • JSR-314
    • None
    • myfaces trunk

    Description

      javax.faces.component.UIViewRoot.encodeBegin(FacesContext) contains:

      if (!skipPhase) {
      super.encodeBegin(context);
      }

      but skipPhase = context.getRenderResponse() || context.getResponseComplete() - it
      makes sense for all phases except render response phase itself. That condition
      probably should be:

      if (!context.getResponseComplete()) {
      super.encodeBegin(context);
      }

      Attachments

        1. MYFACES-2544.patch
          1 kB
          Martin Kočí
        2. MYFACES-2544-2.patch
          2 kB
          Leonardo Uribe
        3. MYFACES-2544-3.patch
          4 kB
          Leonardo Uribe
        4. MYFACES-2544-4.patch
          6 kB
          Leonardo Uribe

        Activity

          People

            lu4242 Leonardo Uribe
            markoc50 Martin Kočí
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: