[ 
https://issues.apache.org/jira/browse/JAMES-2163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tellier Benoit closed JAMES-2163.
---------------------------------

> Passing null parameters to Mail seems possible
> ----------------------------------------------
>
>                 Key: JAMES-2163
>                 URL: https://issues.apache.org/jira/browse/JAMES-2163
>             Project: James Server
>          Issue Type: Bug
>          Components: James Core
>    Affects Versions: master
>            Reporter: Tellier Benoit
>            Priority: Major
>             Fix For: master
>
>
> As reported by @arpitsriv on Gitter, it seems possible to write an email with 
> possibly null parameters.
> This causes defacts later on, for instance in his case when enqueing the 
> email.
> We need upfront null value rejection on the MailImpl object, via 
> Preconditions. This will bring the error closer to the code causing the 
> defect, and makes debugging easier.
> Unit tests should be provided on the MailImpl object.
> Thanks to @arpitsriv for his time spotting and understanding this issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to