You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Tellier Benoit (JIRA)" <se...@james.apache.org> on 2017/06/02 13:05:04 UTC
[jira] [Resolved] (JAMES-2042) Some messages ends up with empty
preview
[ https://issues.apache.org/jira/browse/JAMES-2042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tellier Benoit resolved JAMES-2042.
-----------------------------------
Resolution: Fixed
> Some messages ends up with empty preview
> -----------------------------------------
>
> Key: JAMES-2042
> URL: https://issues.apache.org/jira/browse/JAMES-2042
> Project: James Server
> Issue Type: Bug
> Components: JMAP
> Affects Versions: master
> Reporter: Tellier Benoit
> Assignee: Antoine Duprat
> Fix For: master
>
>
> The generated preview for text parts containing only spaces is "" which makes MessageFactory assumption fails.
> It leads to failing GetMessages which is a bit sad.
> We should add more unit test to MessagePreviewGenerator to ensure it does not return empty String in these cases.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org