[
https://jira.jboss.org/jira/browse/JBPM-2466?page=com.atlassian.jira.plug...
]
Ronald van Kuijk resolved JBPM-2466.
------------------------------------
Resolution: Done
changed
// associate mail producer to event listener
MailProducer mailProducer = parseMailProducer(element, parse,
"task-notification");
to
String mailTemplateName = eventName;
if (Event.ASSIGN.equals(eventName)) {
mailTemplateName = "task-notification";
} else if (Event.REMIND.equals(eventName)) {
mailTemplateName = "task-reminder";
}
// associate mail producer to event listener
MailProducer mailProducer = parseMailProducer(element, parse, mailTemplateName);
task-reminder should not use task-notification template when sending
mail
-------------------------------------------------------------------------
Key: JBPM-2466
URL:
https://jira.jboss.org/jira/browse/JBPM-2466
Project: JBoss jBPM
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Runtime Engine
Affects Versions: jBPM 4.0
Reporter: Ronald van Kuijk
Assignee: Ronald van Kuijk
Priority: Minor
Fix For: jBPM 4.1
Currently it does because of a hard coded name that is *not* the event-name
(task-notification is the template, task-assign the event)
I'll keep the template names the same by adding a mapping in the code.
--
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