Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-10706

EmailServices.sendMail causes a NPE, when sendFrom is missing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Trunk
    • 16.11.06, 17.12.01, 18.12.01
    • framework
    • None

    Description

      Because the Error occurs further down in Java, there are two options

      1. Either catch the NPE in sendMail and try to send a mail without a sendFrom field (I doubt that this will work)
      2. Or expand the sendMailOnePartInterface to have sendFrom mandatory just like sendTo

       

      Attachments

        1. OFBIZ-10706_services_Email.xml.patch
          0.8 kB
          Benjamin Jugl
        2. OFBIZ-10706.patch
          0.8 kB
          Pawan Verma

        Activity

          People

            jleroux Jacques Le Roux
            bjugl Benjamin Jugl
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: