]
Dan Allen updated JBSEAM-2924:
------------------------------
Attachment: JBSEAM-2924-branch_2_0-v1.txt
Uploading patch for branch 2.0
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
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: