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

seam-mail does not render facets correctly on JBoss AS 6

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 2.2.1.CR1
    • Fix Version/s: 2.2.1.CR2
    • Component/s: Mail
    • Labels:
      None
    • Environment:

      JBoss AS 6 M2 with Mojarra 2.0.3-SNAPSHOT

    • Affects:
      Release Notes

      Description

      seam-mail's html template contains the following alternative facet:

      <f:facet name="alternative">
      <h:outputText>This is the alternative text body for mail readers that don't support html</h:outputText>
      </f:facet>

      On JBoss AS 5.1.0.GA this facet is rendered as:

      ------=_Part_0_1529785252.1267794024939
      Content-Type: multipart/alternative;
      boundary="----=_Part_1_802611549.1267794024973"

      ------=_Part_1_802611549.1267794024973
      Content-Type: text/plain; charset=ISO-8859-1
      Content-Transfer-Encoding: 7bit
      Content-Disposition: inline

      This is the alternative text body for mail readers that don't support html
      ------=_Part_1_802611549.1267794024973
      Content-Type: text/html; charset=ISO-8859-1
      Content-Transfer-Encoding: 7bit
      Content-Disposition: inline

      However, on JBoss AS 6.0.0.M2 this part is blank:

      ------=_Part_0_1364556105.1267794343401
      Content-Type: multipart/alternative;
      boundary="----=_Part_1_270988920.1267794343438"

      ------=_Part_1_270988920.1267794343438
      Content-Type: text/plain; charset=ISO-8859-1
      Content-Transfer-Encoding: 7bit
      Content-Disposition: inline

      ------=_Part_1_270988920.1267794343438
      Content-Type: text/html; charset=ISO-8859-1
      Content-Transfer-Encoding: 7bit
      Content-Disposition: inline

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                manaRH Marek Novotny
                Reporter:
                jharting Jozef Hartinger
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: