[jira] [Commented] (GERONIMO-6801) JavaMail spec 1.6 MimeBodyPart.setText() ignores subType parameter

2021-01-27 Thread Romain Manni-Bucau (Jira)


[ 
https://issues.apache.org/jira/browse/GERONIMO-6801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17272861#comment-17272861
 ] 

Romain Manni-Bucau commented on GERONIMO-6801:
--

Fine from me if it gets a test (more to harness the future than anything else). 
Also checked it was consistent with the RI so +1.

> JavaMail spec 1.6 MimeBodyPart.setText() ignores subType parameter
> --
>
> Key: GERONIMO-6801
> URL: https://issues.apache.org/jira/browse/GERONIMO-6801
> Project: Geronimo
>  Issue Type: Bug
>  Security Level: public(Regular issues) 
>  Components: mail
>Reporter: Jonathan Gallimore
>Priority: Major
> Attachments: geronimo-mail.diff
>
>
> When calling MimeBodyPart.setText(text, "UTF-8", "html", the subType 
> parameter ("html" in this case) is ignored, and "plain" is used instead.



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


[jira] [Commented] (GERONIMO-6801) JavaMail spec 1.6 MimeBodyPart.setText() ignores subType parameter

2021-01-27 Thread Jonathan Gallimore (Jira)


[ 
https://issues.apache.org/jira/browse/GERONIMO-6801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17272856#comment-17272856
 ] 

Jonathan Gallimore commented on GERONIMO-6801:
--

Patch attached which should correct this. Could this be applied?

> JavaMail spec 1.6 MimeBodyPart.setText() ignores subType parameter
> --
>
> Key: GERONIMO-6801
> URL: https://issues.apache.org/jira/browse/GERONIMO-6801
> Project: Geronimo
>  Issue Type: Bug
>  Security Level: public(Regular issues) 
>  Components: mail
>Reporter: Jonathan Gallimore
>Priority: Major
> Attachments: geronimo-mail.diff
>
>
> When calling MimeBodyPart.setText(text, "UTF-8", "html", the subType 
> parameter ("html" in this case) is ignored, and "plain" is used instead.



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