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] [Created] (JAMES-2042) Some messages ends up with empty preview
Date Fri, 02 Jun 2017 03:07:04 GMT
Tellier Benoit created JAMES-2042:
-------------------------------------

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