Uploaded image for project: 'MyFaces Portlet Bridge'
  1. MyFaces Portlet Bridge
  2. PORTLETBRIDGE-216

"Null" ViewState does not remain "null" in a goLink

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.0
    • None
    • Impl
    • None
    • Portlet Bridge 2.0

    Description

      There is a workaround in the Portlet Bridge Impl for Mojarra 1.2 which attempts to fix the fact that Mojarra will skip the render phases of the lifecycle if it believes we have a postback without a ViewState parameter being transmitted. It does this by replacing the empty viewStateParameter with an "NullViewState" token in the render. The problem is that this NullViewState token breaks many "postback" checks (including JSF's) which checks to see if the ViewStateToken is null in order to determine if a postback occurs.

      We should push this bug back to the Mojarra team and, for historical purposes, either only change the value when it's needed (if we can) or switch the MTR for the bridge to be the version of Mojarra that supports this code. This is clearly an Mojarra implementation issue and does not reflect the code in Mojarra 2.0 or any version of MyFaces.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: