[
https://issues.apache.org/jira/browse/PORTLETBRIDGE-37?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Freedman resolved PORTLETBRIDGE-37.
-------------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
1.0.0
As per previous comment. I have now merged this code from the 1.0 code line to
the 2.0 codeline so bug is fixed in both versions.
> VIEWSTATE_PARAM parsing in StateManager doesn't always work
> -----------------------------------------------------------
>
> Key: PORTLETBRIDGE-37
> URL: https://issues.apache.org/jira/browse/PORTLETBRIDGE-37
> Project: MyFaces Portlet Bridge
> Issue Type: Bug
> Components: Impl
> Affects Versions: 1.0.0, 2.0.0
> Reporter: Michael Freedman
> Assignee: Michael Freedman
> Fix For: 1.0.0, 2.0.0
>
>
> Currently the code that parses for the VIEWSTATE_PARAM in the Bridge's
> StateManager is rudimentary (primarily for performance reasons). If checks
> to see if there is a closing /> to ensure it doesn't read beyond the end of
> the tag. However some environment (Trinidad) close the element just with a
> '>'. When this check fails we return null meaning the parameter isn't
> located/preserved. State is lost by the bridge. The bridge should be more
> tolerant. At a minimum it should recognize either end of tag. But failing
> this and other checks it should do more extensive parsing to ensure proper
> execution -- i.e. it should work regardless of whether the name field is
> before the value field and/or '>' is a character in the view state param's
> value.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.