Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-6800

MimeBodyPart.setText ignores subtype

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • Javamail_1.6_1.0.1
    • specs
    • Security Level: public (Regular issues)
    • None
    • Patch Available
    • Patch

    Description

      Hi there,

      the following method from MimeBodyPart in geonimo-javamail_1.6_spec ignores the parameter subtype, and always sets the mime type to text/plain.

      public void setText(final String text, String charset, final String subtype)
      

      I've written a small patch, including a test case. Please let me know if I need to sign any legal documents to donate this code.

      Kind regards

       

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            fpapon Francois Papon
            Argannor Argannor
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment