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

Matthew Lieder (JIRA) jira-events at lists.jboss.org
Mon Nov 26 16:41:18 EST 2007


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

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

    Attachment: SeamSandbox.zip

You have no examples that I know of that work in Tomcat (without JBoss Embedded) OOTB, so instead I've created and attached a small Eclipse/Maven webapp that gives examples of the problem using Seam 2.0.1-SNAPSHOT dated 20071126.212331 (having the fix you just put in for JBSEAM-2163).

Once you build the WAR and deploy to Tomcat (tested in Tomcat 5.5.23), navigate to localhost:8080/SeamSandbox/usher.seam?flow=main to run through the pageflow. Uncomment one or the other lines in the pageflow file to trigger different problems.

Let me know if you have any problems running the app.

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