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

Pete Muir (JIRA) jira-events at lists.jboss.org
Mon Jun 2 07:56:29 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBSEAM-2924?page=all ]

Pete Muir closed JBSEAM-2924.
-----------------------------


> 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
>    Affects Versions: 2.1.0.A1, 2.0.2.CR1
>            Reporter: Dan Allen
>         Assigned To: Dan Allen
>             Fix For: 2.0.2.CR2, 2.1.0.BETA1
>
>         Attachments: JBSEAM-2924-branch_2_0-v1.txt, JBSEAM-2924-trunk-v1.txt
>
>   Original Estimate: 5 minutes
>  Remaining Estimate: 5 minutes
>
> 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