[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2924) session dropped by exception handler redirect if using url rewriting

Dan Allen (JIRA) jira-events at lists.jboss.org
Thu Apr 24 00:50:08 EDT 2008


session dropped by exception handler redirect if using url rewriting
--------------------------------------------------------------------

                 Key: JBSEAM-2924
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2924
             Project: Seam
          Issue Type: Bug
          Components: Exception Handling
            Reporter: Dan Allen
         Assigned To: Dan Allen


The ExceptionFilter works outside of the JSF FacesContext and therefore must instantiate a MockFacesContext and MockExternalContext to allow JSF messages to be appended and to issue the redirect. However, the ExternalContext does not properly implement the encodeActionURL() method (it merely returns the value passed into the method). Therefore, if url rewriting is active, the session is dropped upon redirect. The ExternalContext needs to delegate to the HttpServletRequest object if present to properly encode the url.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list