ICEfaces
  1. ICEfaces
  2. ICE-3921

Exception Redirection not working correctly when JSF state-saving enabled

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 1.8DR#2
    • Fix Version/s: 1.8DR#2, 1.8
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfaces 1.8 DR#2 with state-saving enabled (default).
    • Workaround Exists:
      Yes
    • Workaround Description:
      Disable JSF state-saving by specifying "doJSFStateManagement=false" in the web.xml.

      Description

      Exception redirection is not working correctly when state-saving is enabled. Instead of redirecting to the specified error page, an exception is rendered in the browser.

      It looks like there's something funky going on with the request when there's an exception. We get an exception in the lifecycle, and there's an error page that's supposed to handle the case and it looks like JSF starts another lifecycle immediately to render the error page, except in this case it's finding the ViewState key in the request map still and it's trying to restore the view that it should be not.

        Activity

        There are no subversion log entries for this issue yet.

          People

          • Assignee:
            Unassigned
            Reporter:
            Ken Fyten
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: