You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Michael Freedman (JIRA)" <de...@myfaces.apache.org> on 2010/03/30 23:24:27 UTC

[jira] Resolved: (PORTLETBRIDGE-138) Bridge doesn't work correctly with ViewHandlers using deprecated StateManager APIs

     [ https://issues.apache.org/jira/browse/PORTLETBRIDGE-138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Freedman resolved PORTLETBRIDGE-138.
--------------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0
                   1.0.0

As suggested, duplicated the override to handle the other form.

> Bridge doesn't work correctly with ViewHandlers using deprecated StateManager APIs
> ----------------------------------------------------------------------------------
>
>                 Key: PORTLETBRIDGE-138
>                 URL: https://issues.apache.org/jira/browse/PORTLETBRIDGE-138
>             Project: MyFaces Portlet Bridge
>          Issue Type: Bug
>          Components: Impl
>    Affects Versions: 1.0.0-beta, 2.0.0-alpha
>            Reporter: Michael Freedman
>            Assignee: Michael Freedman
>             Fix For: 1.0.0, 2.0.0
>
>
> The Bridge provides its own StateManager that overrides writeState in order to detect/parse the VIEW_STATE value written into the response so it can cache this value for non-POSTBACK requests (i.e. subsequent portlet render requests caused by redisplay and/or interactions with another portlet on the page).   Unfortunately it only overrides the official 1.2 form of writeState() and not the prior (now deprecated) form.  The Facelets ViewHandler uses the old (deprecated API) -- causing the bridge to not extract the parameter leading to problems in non-POSTBACKS.  Fixs is to duplicate the writeState() impl by overrridng the deprecated form as well. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.