[jboss-jira] [JBoss JIRA] Created: (JBPM-850) Tasks with mail notification (notify="yes") fail if the assigned actor has no e-mail address.

Bruno Dumon (JIRA) jira-events at lists.jboss.org
Thu Feb 22 12:30:35 EST 2007


Tasks with mail notification (notify="yes") fail if the assigned actor has no e-mail address.
---------------------------------------------------------------------------------------------

                 Key: JBPM-850
                 URL: http://jira.jboss.com/jira/browse/JBPM-850
             Project: JBoss jBPM
          Issue Type: Patch
    Affects Versions: jBPM jPDL 3.2 beta 2
            Reporter: Bruno Dumon
         Assigned To: Tom Baeyens
         Attachments: noaddress_mail_patch.txt

In our system, it can occur users have not configured an email address, in which case they should not (and cannot) receive email notifications. So our AddressResolver implementation returns a null email address in that case.

Currently this will make jBPM try to send a mail with no recipients, causing JavaMail to raise an exception.

The attached patch (against current CVS) changes things such that a mail is not send when there are no recipients.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list