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

Argannor updated GERONIMO-6800:
-------------------------------
    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.
{code:java}
public void setText(final String text, String charset, final String subtype)
{code}
I've written a small patch, including a test case with this issue. Please let 
me know if I need to sign any legal documents to donate this code.

Kind regards

 

  was:
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 with this issue. Please let 
me know if I need to sign any legal documents to donate this code.

Kind regards

 


> 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
>            Priority: Minor
>         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 with this issue. 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)

Reply via email to