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

Tellier Benoit commented on JAMES-2042:
---------------------------------------

https://github.com/linagora/james-project/pull/822 solved the issue and added 
unit tests.

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to