ICEfaces
  1. ICEfaces
  2. ICE-6927

Refreshing a page redirects to index page

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0, 2.0.1, 2.0.2
    • Fix Version/s: 2.1-Beta, 3.0
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Windows XP, UnixAIX
      Tomcat6

      Description

      After refreshing a webpage by pressing F5, the application is redirected to index page.
      The session settings are kept well but you have to navigate to the position you've refreshed.
      The problem was observed after migrating from ICEFaces 1.8 to ICEFaces 2.0 and is still present in current release (2.0.2)

        Issue Links

          Activity

          Repository Revision Date User Message
          ICEsoft Public SVN Repository #25413 Tue Sep 06 16:09:48 MDT 2011 mircea.toma ICE-6927 Turn off navigation replay by default.
          Files Changed
          Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/util/EnvUtils.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #25403 Mon Sep 05 10:06:11 MDT 2011 mircea.toma ICE-6927 Disable navigation replay when session was just restored.
          Files Changed
          Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/impl/application/ReloadAfterNavigationFix.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #25402 Mon Sep 05 10:00:42 MDT 2011 mircea.toma ICE-6927 Fix usage of EnvUtils.containsBeans method.
          Files Changed
          Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/impl/application/WindowScopeManager.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #25401 Mon Sep 05 08:37:21 MDT 2011 mircea.toma ICE-6927 Introduced "org.icefaces.replayNavigationOnReload" context parameter to allow the disabling of the non-standard behavior.
          Files Changed
          Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/impl/application/ReloadAfterNavigationFix.java
          Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/util/EnvUtils.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #25199 Fri Aug 05 08:12:25 MDT 2011 mircea.toma ICE-6927 Record the navigation that needs to be replayed only for non-redirect navigation cases.
          Files Changed
          Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/impl/application/ReloadAfterNavigationFix.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #25114 Wed Jul 27 07:39:35 MDT 2011 mircea.toma ICE-6927 Introduced ReloadAfterNavigationFix navigation handler to record the triggered navigation. Introduced also ReloadAfterNavigationFix$TriggerNavigation phase listener that will replay the recorded navigation for the current window. Modified WindowScopeManager.containsBeans function to return true only when the scope map contains objects with keys matching packages outside the core framework implementation to avoid disabling lazyWindowScope feature when the window scope map is used by the framework. Moved WindowScopeManager.containsBeans method into EnvUtils class.
          Files Changed
          Commit graph ADD /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/impl/application/ReloadAfterNavigationFix.java
          Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/resources/META-INF/faces-config.xml
          Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/util/EnvUtils.java
          Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/impl/application/WindowScopeManager.java
          Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/impl/event/BridgeSetup.java

            People

            • Assignee:
              Mircea Toma
              Reporter:
              Jörg Jansen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: