You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Paul Foxworthy (Updated) (JIRA)" <ji...@apache.org> on 2012/04/05 09:47:34 UTC

[jira] [Updated] (OFBIZ-4784) storeIncomingEmail assumes variable is not null when it might be

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

Paul Foxworthy updated OFBIZ-4784:
----------------------------------

    Attachment: OFBIZ-4784_CommunicationEventServices.patch
    
> storeIncomingEmail assumes variable is not null when it might be
> ----------------------------------------------------------------
>
>                 Key: OFBIZ-4784
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4784
>             Project: OFBiz
>          Issue Type: Bug
>          Components: party
>    Affects Versions: SVN trunk
>         Environment: r1309653
>            Reporter: Paul Foxworthy
>            Priority: Minor
>         Attachments: OFBIZ-4784_CommunicationEventServices.patch
>
>
> In storeIncomingEmail in CommunicationEventServices.java, the code to assemble the aboutThisEmail debugging message assumes addressesFrom and addressesTo are not null. But the methods that return values for those variables might return null if they encounter an exception.
> I have also removed uses of UtilValidate.isEmpty, which should only be used for collections and sequences (see OFBIZ-4427).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira