Return-Path: X-Original-To: apmail-myfaces-dev-archive@www.apache.org Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5B4929025 for ; Mon, 7 May 2012 14:01:15 +0000 (UTC) Received: (qmail 17139 invoked by uid 500); 7 May 2012 14:01:15 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 17106 invoked by uid 500); 7 May 2012 14:01:15 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 17099 invoked by uid 99); 7 May 2012 14:01:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 May 2012 14:01:15 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 May 2012 14:01:14 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B2954437092 for ; Mon, 7 May 2012 14:00:53 +0000 (UTC) Date: Mon, 7 May 2012 14:00:53 +0000 (UTC) From: "Leonardo Uribe (JIRA)" To: dev@myfaces.apache.org Message-ID: <955649163.34364.1336399253752.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1007210813.34288.1336397930592.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (MYFACES-3540) org.apache.myfaces.HANDLE_STATE_CACHING_MECHANICS = false results in client side state saving MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MYFACES-3540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269630#comment-13269630 ] Leonardo Uribe commented on MYFACES-3540: ----------------------------------------- That param is for backward compatibility with the old behavior of StateManager in MyFaces. Maybe some change done causes the problem but it is not a big deal, because there are no known cases that requires this behavior (in theory a StateManager wrapper could rely on this behavior). > org.apache.myfaces.HANDLE_STATE_CACHING_MECHANICS = false results in client side state saving > --------------------------------------------------------------------------------------------- > > Key: MYFACES-3540 > URL: https://issues.apache.org/jira/browse/MYFACES-3540 > Project: MyFaces Core > Issue Type: Bug > Components: General > Affects Versions: 2.1.7 > Environment: Richfaces 4.2.1 Final, Tomahawk20_1.1.12, Tomcat 6.0.35 > Reporter: Michael Heinen > Attachments: web.xml > > > Setting the parameter org.apache.myfaces.HANDLE_STATE_CACHING_MECHANICS to false results in a blown up view state on client side. > The content of javax.faces.ViewState is > 10 times larger. > Comparison: > HANDLE_STATE_CACHING_MECHANICS = true > Request content length: 2369 bytes > Response content length: 1849 bytes > Same operation with HANDLE_STATE_CACHING_MECHANICS = false > Request content length: 28095 bytes > Response content length: 25783 bytes > There seems to be something wrong with the state saving. -- 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