Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3540

org.apache.myfaces.HANDLE_STATE_CACHING_MECHANICS = false results in client side state saving

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Not A Problem
    • Affects Version/s: 2.1.7
    • Fix Version/s: None
    • Component/s: General
    • Labels:
      None
    • Environment:
      Richfaces 4.2.1 Final, Tomahawk20_1.1.12, Tomcat 6.0.35

      Description

      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.

        Attachments

        1. web.xml
          4 kB
          Michael Heinen

          Activity

            People

            • Assignee:
              lu4242 Leonardo Uribe
              Reporter:
              mheinen Michael Heinen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: