You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2014/01/02 23:47:50 UTC

[jira] [Resolved] (MYFACES-3806) Destroy ViewScope beans when view is discarded from view state.

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

Leonardo Uribe resolved MYFACES-3806.
-------------------------------------

    Resolution: Fixed

Fixed with MYFACES-3804

> Destroy ViewScope beans when view is discarded from view state.
> ---------------------------------------------------------------
>
>                 Key: MYFACES-3806
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3806
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: JSR-344
>            Reporter: Leonardo Uribe
>            Assignee: Leonardo Uribe
>             Fix For: 2.2.0
>
>
> According to JSF 2.2 spec, view scope beans are destroyed when the session is destroyed, but it could be better if we destroy the beans when the associated view is discarded by server side state saving algorithm. We probably need to duplicate the view map key but it is ok to do so in this case, because a view scope bean can increate session size faster than the additional view map key.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)