[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-3743) Renderer gets confuesed when sending of email throws exception

Alexander Sparkowsky (JIRA) jira-events at lists.jboss.org
Fri Jan 9 03:11:03 EST 2009


    [ https://jira.jboss.org/jira/browse/JBSEAM-3743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12446311#action_12446311 ] 

Alexander Sparkowsky commented on JBSEAM-3743:
----------------------------------------------

I've attached a patch to Issue JBSEAM-3698

> Renderer gets confuesed when sending of email throws exception
> --------------------------------------------------------------
>
>                 Key: JBSEAM-3743
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3743
>             Project: Seam
>          Issue Type: Bug
>          Components: Mail
>    Affects Versions: 2.1.0.GA, 2.1.0.SP1
>         Environment: Mac OS X 10.5.5, Java 5, JBoss 4.0.5 modified for seam 2.x
>            Reporter: Alexander Sparkowsky
>             Fix For: 2.1.2.CR1
>
>         Attachments: emailtest.xhtml, EmailTestBean.java, test.xhtml
>
>
> When sending of an email fails and an exception is thrown  (i.e. mail server not available)  the renderer seems to get into a wrong state.
> <s:link> present on the page get the application context "project". So "/myseamapp/foo/bar" becomes "/project/foo/bar".
> If the action that is trying to send the mail is called by <s:link> this link gets the path of the email view itself (including the "project" application context).
> I've attached a Bean sending the email, the email template (/test.xhtml) and a simple view.
> This is the mail session configuration from components.xml
>    <mail:mail-session host="localhost" port="2525" username="test" password="test" />

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

        



More information about the seam-issues mailing list