poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 60550] MAPIMessage parser couldn't get "Content-ID" field.
Date Wed, 04 Jan 2017 18:25:19 GMT

--- Comment #4 from maoblackberry@gmail.com ---
(In reply to Javen O'Neal from comment #1)
> Sounds like a good idea!
> Do you have a document (or does one our existing test documents [1]) have an
> attach content id that we could use for a unit test?
> Are you willing to modify an existing unit test or write up a new unit test
> so we can verify the fix? See [2] or [3] for existing unit tests.
> Also, what data type is attachContentId?
> [1] HSMF test documents:
> https://svn.apache.org/viewvc/poi/trunk/test-data/hsmf/
> [2] HSMF unit tests
> http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/
> poi/hsmf/datatypes/ and
> http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/
> poi/hsmf/

Hi Javen,
Thanks for the response.
I think the data type of attachContentId should be:
public StringChunk attachContentId;

I already added a test case in TestFileWithAttachmentsRead.java
(testReadContentIDField()) and uploaded the java file and associated test
file(attachment_msg_inlineImg.msg) for you to review.

Thanks for the help.

You are receiving this mail because:
You are the assignee for the bug.
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org

View raw message