Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-2110

workaround for jsf portlet bridge 2.0 nullviewstatetoken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.14-core
    • 1.2.15-core
    • Portlet
    • None

    Description

      There is a bug related to a workaround in the MyFaces Portlet Bridge 2.0 R.I.

      After a goLink renders a new portlet view, the bridge changes a null VIEWSTATE parameter value to the string "org.apache.myfaces.portlet.faces.nullViewState". The reason this is done is that apparently there is a bug in Mojarra where, during a post, if the VIEWSTATE is null, the render phases are skipped. Unfortunately this workaround in the bridge cannot be removed in the bridge.

      As a result of this, however, our check for the format of the viewStateToken incorrectly returns the VIEWSTATE encoding which rely's on a null VIEWSTATE to make part of it's decision. We need to check for this
      "org.apache.myfaces.portlet.faces.nullViewState" token as well.

      Also, this workaround in the bridge is ONLY in bridges which operate on JSF 1.2. The MyFaces Portlet Bridge 3.0 (which is based off JSF 2.0) has this hack removed. As such, this bug fix should only apply to JSF 1.2 branches

      Attachments

        Activity

          People

            darkarena Scott O'Bryan
            darkarena Scott O'Bryan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: