Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-3743

Renderer gets confuesed when sending of email throws exception

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate Issue
    • Affects Version/s: 2.1.0.GA, 2.1.0.SP1
    • Fix Version/s: 2.1.2.CR2
    • Component/s: Mail
    • Labels:
      None
    • Environment:

      Mac OS X 10.5.5, Java 5, JBoss 4.0.5 modified for seam 2.x

      Description

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

        Gliffy Diagrams

          Attachments

          1. emailtest.xhtml
            0.6 kB
          2. EmailTestBean.java
            0.5 kB
          3. test.xhtml
            0.4 kB

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  alxs Alexander Sparkowsky
                • Votes:
                  6 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: