javaserverfaces-spec-public
  1. javaserverfaces-spec-public
  2. JAVASERVERFACES_SPEC_PUBLIC-1127

Must "Serializable" really be the default behavior in both client and server state modes?

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2 Sprint 13
    • Component/s: Lifecycle
    • Labels:
      None

      Description

      Mojarra issue JAVASERVERFACES-2349 asks to make Mojarra conform to this spec text, In section "State Saving Alternatives and Implications" in the "Application Integration" chapter.

      The default implementation Serializes the view in both the client and server modes.

      This issue has a long history, dating back to summer 2007, chronicled in JAVASERVERFACES-632. In that issue, then implementation lead Ryan Lubke stated that he polled the community and the result was that enforcing serializability in all cases should be off by default.

      At this point, I'd like to amend the text quoted above to be:

      The default implementation Serializes the view in client mode. Serializing the view in server
      mode is optional but must be possible by setting context-param javax.faces.SERIALIZE_SERVER_STATE
      to true.

        Issue Links

          Activity

          Ed Burns logged work - 14/Aug/12 3:06 AM
          • Time Spent:
            30 minutes
             
            Sending applicationIntegration.fm
            Sending preface.fm
            Sending usingFacesInWebapps.fm
            Transmitting file data ...
            Committed revision 1064.
          Ed Burns logged work - 24/Aug/12 2:23 AM
          • Time Spent:
            30 minutes
             
            Tested re-enabling the tests: they passed on Tomcat7. I'll now try it on the hudson server.

            People

            • Assignee:
              Ed Burns
              Reporter:
              Ed Burns
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 5 hours
                5h
                Remaining:
                Time Spent - 1 hour Remaining Estimate - 4 hours
                4h
                Logged:
                Time Spent - 1 hour Remaining Estimate - 4 hours
                1h