You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2015/03/23 17:45:52 UTC

[Bug 57744] [PATCH] getMessageDate returns null when message submission chunk "id" contains hyphen

https://bz.apache.org/bugzilla/show_bug.cgi?id=57744

--- Comment #1 from Adrian Conlon <ad...@arup.com> ---
Created attachment 32594
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=32594&action=edit
Proposed patch

Reimplement part of MessageSubmissionChunk.java, readValue to get the date bit
of the submission string in a different way.

Basically, works backwards from the end of the string to find delimiting
hyphens.

Two test cases added: One with a hyphen in the id part of the submission chunk;
the other without.

-- 
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