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

Wayne Bagguley (JIRA) jira-events at lists.jboss.org
Mon Nov 24 08:35:36 EST 2008

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

Wayne Bagguley commented on JBSEAM-3743:

I think this is the same issue that I reported previously : https://jira.jboss.org/jira/browse/JBSEAM-3698

I too see the 'project' URL and other things are messed up in the page.

> 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.1.CR2
>         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