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

        Ken Fyten created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Salesforce Case []
        Fix Version/s 1.8DR#3 [ 10143 ]
        Assignee Priority P1
        Assignee Greg Dick [ greg.dick ]
        Greg Dick made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.8DR#2 [ 10142 ]
        Fix Version/s 1.8DR#3 [ 10143 ]
        Resolution Invalid [ 6 ]
        Ken Fyten made changes -
        Fix Version/s 1.8 [ 10161 ]
        Assignee Priority P1
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Greg Dick [ greg.dick ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: