You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "mridulpathak (via GitHub)" <gi...@apache.org> on 2026/08/03 11:33:03 UTC
[PR] Fixed: sendFailureNotification NPEs on default sendFrom, masking the original SMTP error (OFBIZ-13477) [ofbiz-framework]
mridulpathak opened a new pull request, #1548:
URL: https://github.com/apache/ofbiz-framework/pull/1548
Fixed: sendFailureNotification NPEs on default sendFrom, masking the original SMTP error (OFBIZ-13477)
sendFailureNotification() built its bounce-notification context from the raw, unresolved context.get("sendFrom") instead of the sendFrom local variable that sendMail() resolves (with a fallback to general.defaultFromEmailAddress). When a caller relied on that default, sendFrom/sendTo in the notification context were both null, causing an NPE in mail.addRecipients() that masked the original SMTP address failure and rolled back the transaction. This passes the already-resolved sendFrom into sendFailureNotification() explicitly instead of re-reading it from context.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ofbiz.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fixed: sendFailureNotification NPEs on default sendFrom, masking the original SMTP error (OFBIZ-13477) [ofbiz-framework]
Posted by "mridulpathak (via GitHub)" <gi...@apache.org>.
mridulpathak merged PR #1548:
URL: https://github.com/apache/ofbiz-framework/pull/1548
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ofbiz.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org