Cocoon
  1. Cocoon
  2. COCOON-2213

Change check on mime-type to enable custom encoding of the body

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.11, 2.2.1
    • Fix Version/s: 2.1.12, 2.2.1
    • Component/s: Blocks: Mail
    • Labels:
      None
    • Other Info:
      Patch available
    • Affects version (Component):
      Blocks: Mail - 1.0.0
    • Fix version (Component):
      Blocks: Mail - 1.1.0-SNAPSHOT

      Description

      Since the patch in COCOON-1622 was applied, a check is done on the mime-type for the output format. It checks if the value is equal to either text/plain or text/html. It may be necessary to explicitly set a charset in the mime-type. This means the check for the mime type should not equals but startsWith.

      COCOON-1622 seems to be only applied in the 2.1 branch, not in 2.2.
      1. SendMailTransformer_mime-type.patch
        1 kB
        Jasha Joachimsthal
      2. SendMailTransformer-plaintext.patch
        1 kB
        Jasha Joachimsthal

        Activity

        Jasha Joachimsthal created issue -
        Jasha Joachimsthal made changes -
        Field Original Value New Value
        Attachment SendMailTransformer_mime-type.patch [ 12384205 ]
        Alfred Nathaniel made changes -
        Assignee Alfred Nathaniel [ anathaniel@apache.org ]
        Alfred Nathaniel made changes -
        Status Open [ 1 ] On Hold [ 10000 ]
        Jasha Joachimsthal made changes -
        Attachment SendMailTransformer-plaintext.patch [ 12387869 ]
        Jasha Joachimsthal made changes -
        Fix Version/s 2.2-dev (Current SVN) [ 12313093 ]
        Affects Version/s 2.2-dev (Current SVN) [ 12313093 ]
        Jasha Joachimsthal made changes -
        Fix version (Component) Parent values: Blocks: Mail(10242). Level 1 values: 1.1.0-SNAPSHOT(10401).
        Status On Hold [ 10000 ] Closed [ 6 ]
        Affects version (Component) Parent values: Blocks: Mail(10170). Level 1 values: 1.0.0(10394).
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Alfred Nathaniel
            Reporter:
            Jasha Joachimsthal
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development