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 2008/05/31 01:50:45 UTC

[jira] Created: (TRINIDAD-1104) Saving the view state (_saveSerializedView) should not save clientId

Saving the view state (_saveSerializedView) should not save clientId
--------------------------------------------------------------------

                 Key: TRINIDAD-1104
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1104
             Project: MyFaces Trinidad
          Issue Type: Bug
            Reporter: Stevan Malesevic


While saving the view state in _saveSerializedView clientId gets saved as well. Since these can be dynamic or auto generated we should not save them.  This will reduce the overall size of the serialized view state
This can be taken care of in org.apache.myfaces.trinidad.bean.util.StateUtils

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


[jira] Reopened: (TRINIDAD-1104) Saving the view state (_saveSerializedView) should not save clientId

Posted by "Jeanne Waldman (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-1104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeanne Waldman reopened TRINIDAD-1104:
--------------------------------------


this needs to be closed as "Not a Bug", not "Fixed", so I am reopening it so I can figure out how to do that.

> Saving the view state (_saveSerializedView) should not save clientId
> --------------------------------------------------------------------
>
>                 Key: TRINIDAD-1104
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1104
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions:  1.0.8-core,  1.2.8-core
>            Reporter: Stevan Malesevic
>
> While saving the view state in _saveSerializedView clientId gets saved as well. Since these can be dynamic or auto generated we should not save them.  This will reduce the overall size of the serialized view state
> This can be taken care of in org.apache.myfaces.trinidad.bean.util.StateUtils

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


[jira] Commented: (TRINIDAD-1104) Saving the view state (_saveSerializedView) should not save clientId

Posted by "Jeanne Waldman (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-1104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12601698#action_12601698 ] 

Jeanne Waldman commented on TRINIDAD-1104:
------------------------------------------

Where exactly in StateUtils do you have in mind?
Do you mean to add this:
      if ("id".equals(key.getName()))
        continue;
in the loop in saveState?

Someone who is an expert in state saving should comment whether or not this change will have any negative impacts.

> Saving the view state (_saveSerializedView) should not save clientId
> --------------------------------------------------------------------
>
>                 Key: TRINIDAD-1104
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1104
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>            Reporter: Stevan Malesevic
>
> While saving the view state in _saveSerializedView clientId gets saved as well. Since these can be dynamic or auto generated we should not save them.  This will reduce the overall size of the serialized view state
> This can be taken care of in org.apache.myfaces.trinidad.bean.util.StateUtils

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