Red Hat Bugzilla – Bug 996586
Insufficient error handling in email notification
Last modified: 2014-08-06 16:07:48 EDT
In case of task escalation (if email notification is configured on the task) engine tries to send email, which ends up with an error message in server log:
"Cannot proceed with notifications as not all requirements are meet - mail session or userinfo is not available."
Looking at the EmailSessionProducer, email session has to be provided via JNDI or - when it hasn't been found there - engine searches for email.properties. But there is no information about what went wrong in the server log. The only message ends with "mail session or userinfo is not available.", which does not help much - is missing userinfo or mail session?
logging has been improved to inform on the actual cause of not being able to configure deadlines. Mail session is traced so both ways (JNDI and property file) will report its status so that should give quite good indication of what failed. Pushed to 6.0.x and master
Verified on BPMS-6.0.0.ER3
qe_test_coverage: error logging improvement