[
https://jira.jboss.org/jira/browse/JBPM-850?page=com.atlassian.jira.plugi...
]
Ronald van Kuijk commented on JBPM-850:
---------------------------------------
O/T, but I'm creating a test for this and I come over things like:
assertTrue(server.getReceivedEmailSize() == 1);
is there a reason for this instead of using
assertEquals(1, server.getReceivedEmailSize());
????
Ohh... and cvs should of course be svn
Tasks with mail notification (notify="yes") fail if the
assigned actor has no e-mail address.
---------------------------------------------------------------------------------------------
Key: JBPM-850
URL:
https://jira.jboss.org/jira/browse/JBPM-850
Project: JBoss jBPM
Issue Type: Patch
Components: Core Engine
Affects Versions: jBPM 3.2.0
Reporter: Bruno Dumon
Assignee: Tom Baeyens
Fix For: jBPM 3.3.0 GA
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:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira