james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefano Bagnara (JIRA)" <mime4j-...@james.apache.org>
Subject [jira] [Commented] (MIME4J-194) There is a regression when content type include empty parameters ";;"
Date Mon, 18 Apr 2011 10:17:06 GMT

    [ https://issues.apache.org/jira/browse/MIME4J-194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020964#comment-13020964
] 

Stefano Bagnara commented on MIME4J-194:
----------------------------------------

Hi Oleg, sorry I have no time to check this deeper. I just tried running my extended test
suite and saw this error while parsing that message:
----------------
 java.lang.IllegalArgumentException: Multipart boundary not specified
	at org.apache.james.mime4j.message.MimeWriter.getBoundary(MimeWriter.java:269)
	at org.apache.james.mime4j.message.MimeWriter.writeMultipart(MimeWriter.java:152)
	at org.apache.james.mime4j.message.MimeWriter.writeBody(MimeWriter.java:82)
	at org.apache.james.mime4j.message.MimeWriter.writeEntity(MimeWriter.java:115)
	at org.apache.james.mime4j.message.MimeWriter.writeMessage(MimeWriter.java:134)
	at org.apache.james.mime4j.dom.ExampleMessagesRoundtripTest.runTest(ExampleMessagesRoundtripTest.java:67)
	at junit.framework.TestCase.runBare(TestCase.java:130)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:120)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
------

I will check better ASAP.

> There is a regression when content type include empty parameters ";;"
> ---------------------------------------------------------------------
>
>                 Key: MIME4J-194
>                 URL: https://issues.apache.org/jira/browse/MIME4J-194
>             Project: JAMES Mime4j
>          Issue Type: Bug
>          Components: parser (core)
>    Affects Versions: 0.7
>            Reporter: Stefano Bagnara
>             Fix For: 0.7
>
>         Attachments: contenttypeemptyparameters.msg
>
>
> I guess this is a regression introduced with MIME4J-145. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message