ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Le Roux (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (OFBIZ-10706) EmailServices.sendMail causes a NPE, when sendFrom is missing
Date Sun, 31 Mar 2019 09:18:00 GMT

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

Jacques Le Roux closed OFBIZ-10706.
-----------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: Trunk)
                   18.12.01
                   16.11.06
                   17.12.01

Thanks Pawan, Benjamin, and all others for discussion

Pawan your patch is in
trunk r1856667
R18 r1856668
R17 r1856669
R16  r1856670


> EmailServices.sendMail causes a NPE, when sendFrom is missing
> -------------------------------------------------------------
>
>                 Key: OFBIZ-10706
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10706
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Benjamin Jugl
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: 17.12.01, 16.11.06, 18.12.01
>
>         Attachments: OFBIZ-10706.patch, OFBIZ-10706_services_Email.xml.patch
>
>
> Because the Error occurs further down in Java, there are two options
>  # Either catch the NPE in sendMail and try to send a mail without a send>From field
(I doubt that this will work)
>  # Or expand the sendMailOnePartInterface to have sendFrom mandatory just like sendTo
>  



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

Mime
View raw message