You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Francois Papon (Jira)" <ji...@apache.org> on 2021/08/30 22:17:00 UTC

[jira] [Assigned] (GERONIMO-6800) MimeBodyPart.setText ignores subtype

     [ https://issues.apache.org/jira/browse/GERONIMO-6800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Francois Papon reassigned GERONIMO-6800:
----------------------------------------

    Assignee: Francois Papon

> MimeBodyPart.setText ignores subtype
> ------------------------------------
>
>                 Key: GERONIMO-6800
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6800
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: specs
>            Reporter: Argannor
>            Assignee: Francois Papon
>            Priority: Minor
>             Fix For: Javamail_1.6_1.0.1
>
>         Attachments: setText-subtype-ignored.patch
>
>
> 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.
> {code:java}
> public void setText(final String text, String charset, final String subtype)
> {code}
> 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
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)