Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-12179

MailSenderScriptService will throw a nullpointerexception if there is any issue instead of returning null

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 16.1.0-rc-1
    • 7.0.1
    • Mail
    • Unknown
    • N/A
    • N/A

    Description

      MailSenderScriptService#send calls sendAsynchronously which might return null if there is any issue.

      To reproduce: try to send a mail from a page which don't have programming right.

      Attachments

        Activity

          People

            surli Simon Urli
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: