]
Alexander Sparkowsky commented on JBSEAM-3743:
----------------------------------------------
Seems to be fixed by JBSEAM-3555. Can somewone confirm?
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.2.0.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: