ICEfaces
  1. ICEfaces
  2. ICE-1254

back button functinality broken in FF due to no cache-control on BlockingServlet response

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.2
    • Fix Version/s: 1.6DR#1, 1.6
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Operating System: Windows XP
      Platform: PC

      Description

      The BlockingServlet doesn't specify cache-controls on the response header, as
      the PersistentFacesServlet does. When using synchronousMode, and redirects to
      achieve basic back button functionality, Firefox caches the page and doesn't
      repost the page, so the viewID on the server doesn't change. Any subsequent
      navigation will result in unintended consequence.

      repro steps:
      1. go to page A
      2. go to page B
      3. back button to page A
      4. click commandLink on page A to page B
      5. expected behaviour:
            page B is displayed
         actual behaviour:
            page A is redisplayed

      A workaround using a PhaseListener to set the cache-control on the
      BlockingServlet response header resolves this behaviour.

        Activity

        Hide
        Ted Goddard added a comment -

        Re-assigning to Mircea for comment and approach to including in 1.6.

        Show
        Ted Goddard added a comment - Re-assigning to Mircea for comment and approach to including in 1.6.
        Hide
        Mircea Toma added a comment -

        Fixed during the refactoring described by issue ICE-1249.

        Show
        Mircea Toma added a comment - Fixed during the refactoring described by issue ICE-1249 .

          People

          • Assignee:
            Unassigned
            Reporter:
            Philip Breau
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: