You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Stevan Malesevic (JIRA)" <de...@myfaces.apache.org> on 2012/08/22 19:04:42 UTC

[jira] [Resolved] (TRINIDAD-1113) Serialized views from the token cache hold the references to the componenet view tree

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

Stevan Malesevic resolved TRINIDAD-1113.
----------------------------------------

    Resolution: Cannot Reproduce
    
> Serialized views from the token cache hold the references to the componenet view tree
> -------------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-1113
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1113
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>            Reporter: Stevan Malesevic
>
> org.apache.myfaces.trinidadinternal.application.StateManagerImpl::_saveSerializedView adds PageState to the token cache. This page state references the whole component view tree.  Doing do we end up having up to 15 instances of view state in the token cache and each of them reference the whole component view state, which means we end up with 15 instances of UIViewRoot
> We should make sure that we do serialize all the entries in the token cache except the one which corresponds to the current component tree

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira