[
https://issues.apache.org/jira/browse/TRINIDAD-1886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12900188#action_12900188
]
Matthias Weßendorf commented on TRINIDAD-1886:
----------------------------------------------
this needs to go to 1.2.x branch as well...
> StateManagerImpl.java - popRoot needs to use newInstance in a portlet use case
> ------------------------------------------------------------------------------
>
> Key: TRINIDAD-1886
> URL: https://issues.apache.org/jira/browse/TRINIDAD-1886
> Project: MyFaces Trinidad
> Issue Type: Bug
> Components: Portlet
> Affects Versions: 1.2.12-core, 2.0.0-alpha
> Environment: portlet, any OS
> Reporter: Nathan Hokanson
> Attachments: trinidad-1886.1.2.12.3-branch.patch,
> trinidad-1886.trunk.patch
>
>
> The StateManagerImpl$PageState.popRoot method uses the
> PortletUtils.getPortletViewRoot method to wrap the root object when in a
> Portlet use case. This causes errors in some bridges because the object
> returned form the utility method may not be the same as the one injected as
> the viewRoot by the bridge.
> The fix is to mimic the RI (Mojarra) to call newInstance on the root returned
> from the application.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.