TemplateEmailSender Emails Being Sent to the Wrong Recipient or Containing Another User's Information (Doc ID 1038177.1)

Last updated on DECEMBER 22, 2016

Applies to:

Oracle Commerce Platform - Version 2006.3 and later
Information in this document applies to any platform.

Symptoms

When sending emails via Oracle ATG, one or more of the following happens:

  1. Recipients are receiving the wrong email or another user's email
  2. Some recipients are getting too many emails while others are missing emails
  3. Emails sent have "mixed" data from different users (e.g. the order id is correct, by the user first name is someone else's).

When you have this issue, you can see a race condition under sufficient load that won't be detectable under simple test cases because you need multiple threads executing the code concurrently to see the issue.

This would typically involve ATG's TemplateEmailSender component, but could happen with other components.  When it involves TemplateEmailSender, this problem may be resolved with runInSeparateThread=false . 

This is not an appropriate workaround as most sites cannot handle the performance hit of not queuing emails and sending them in another thread.

Changes


 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms