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

Alexander Sparkowsky (JIRA) jira-events at lists.jboss.org
Sat Nov 22 04:11:37 EST 2008


     [ https://jira.jboss.org/jira/browse/JBSEAM-3743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Sparkowsky updated JBSEAM-3743:
-----------------------------------------

    Attachment: emailtest.xhtml


Test view to call the mail action

> 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
>            Assignee: Pete Muir
>         Attachments: emailtest.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