[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-2139) Exception redirect not propagating messages

Matthew Lieder (JIRA) jira-events at lists.jboss.org
Thu Nov 29 17:21:46 EST 2007


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

Matthew Lieder updated JBSEAM-2139:
-----------------------------------

    Attachment: SeamSandbox2.zip

Here's an updated example; navigate to index.seam and click "Test error handling" to see the bug in action. I discovered that in the previous example I had the SeamFilter URL pattern incorrectly specified; now that it's corrected, the problem's manifesting itself with an infinite redirect loop instead of just a missing message -- much worse, since IE won't even catch the loop!

> Exception redirect not propagating messages
> -------------------------------------------
>
>                 Key: JBSEAM-2139
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2139
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: JSF
>    Affects Versions: 1.2.1.GA, 2.0.0.CR2
>            Reporter: Matthew Lieder
>         Assigned To: Pete Muir
>             Fix For: 2.0.1.GA
>
>         Attachments: SeamSandbox.zip, SeamSandbox2.zip
>
>
> Given the following in pages.xml:
> <exception>
>    <end-conversation/>
>    <redirect view-id="/error.jspx">
>       <message severity="error">#{org.jboss.seam.handledException.message}</message>
>    </redirect>
> </exception>
> and the following in error.jspx:
> <h:messages />
> redirection works (the error page displays), but the message is never shown. The problem's being seen when exceptions are being thrown from jPDL pageflow actions, and might be only reproducible under those situations (see the forum thread for more info).

-- 
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