URL rewriting broken for view-id of redirects in exceptions
-----------------------------------------------------------
Key: JBSEAM-3883
URL:
https://jira.jboss.org/jira/browse/JBSEAM-3883
Project: Seam
Issue Type: Bug
Components: Core
Affects Versions: 2.1.1.GA
Reporter: Stephen Friedrich
When a configured exception handler redirects to a view-id, then the URL for that view-id
is not processed by Seam's URL rewriting filter.
As a result you cannot re-write the URL for your login page if you want to redirect to the
login page when a ViewExpiredSException occurs.
The problem is that the RewriteFilter is deeper in the filter chain than the
ExceptionFilter, so at the time when the exception filter is handling an exception no
RewritingResponse is on the chain of wrapped responses.
Norman RIchards suggested to split incoming and outgoing rewriting and place it at
opposite ends of the filter chain.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira