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

Robert Burrell Donkin reassigned MIME4J-40:
-------------------------------------------

    Assignee: Robert Burrell Donkin

> Message.MessageBuilder#startMultupart does not set multipart subType
> --------------------------------------------------------------------
>
>                 Key: MIME4J-40
>                 URL: https://issues.apache.org/jira/browse/MIME4J-40
>             Project: Mime4j
>          Issue Type: Bug
>    Affects Versions: 0.3, 0.4
>         Environment: Any
>            Reporter: Antony Bowesman
>            Assignee: Robert Burrell Donkin
>             Fix For: 0.3, 0.4
>
>         Attachments: MessageTest.java
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> When parsing a multipart message with new Message(is) the subtype of the 
> multipart is never set, so it always returns "alternative", which is the 
> default subtype.
> Patch required for Message.java
> --- Message.java        2008-03-19 07:45:10.843750000 +1100
> +++ Message1.java       2008-03-19 07:46:08.875000000 +1100
> @@ -164,6 +164,7 @@
>              Entity e = (Entity) stack.peek();
>              Multipart multiPart = new Multipart();
> +            multiPart.setSubType(bd.getMimeType().substring(10));
>              e.setBody(multiPart);
>              stack.push(multiPart);
>          }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to