james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tellier Benoit (JIRA)" <server-...@james.apache.org>
Subject [jira] [Commented] (JAMES-2042) Some messages ends up with empty preview
Date Fri, 02 Jun 2017 13:05:04 GMT

    [ 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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message