"Null" ViewState does not remain "null" in a goLink
---------------------------------------------------
Key: PORTLETBRIDGE-216
URL: https://issues.apache.org/jira/browse/PORTLETBRIDGE-216
Project: MyFaces Portlet Bridge
Issue Type: Bug
Components: Impl
Affects Versions: 2.0.0
Environment: Portlet Bridge 2.0
Reporter: Scott O'Bryan
Assignee: Michael Freedman
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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira