cancel
Showing results for 
Search instead for 
Did you mean: 

Email notifications are sent twice. How can I investigate ?

apx25_
Champ on-the-rise
Champ on-the-rise

Hi,

On our nuxeo 5.6 platform some emails are sent twice : [Nuxeo]New subscription, [Nuxeo]New comment on 'MyDocument'...

However, after some actions, a modification action for example, email notification is sent only once [Nuxeo]MyDocument has been modified by user1

The only operation performed on the platform is the removal of alert basic templates (following http://doc.nuxeo.com/display/Studio/Override+email+notification+templates?src=search) and the creation of new translated et customized templates (with ID choosen among the ones that are used in the default product). I'm not sure that this is the cause of the defect.

Moreover, for certain actions, additional messages are transmitted :

  • 3 emails for "New comment" : [Nuxeo]MyDocument has been created by system + [Nuxeo]New comment on 'MyDocument' + [Nuxeo]New comment on 'MyDocument'
  • 4 emails for "Worklow" : [Nuxeo]MyDocument has been modified by znuxeo + [Nuxeo]MyDocument has been modified by znuxeo + [Nuxeo]Workflow event + [Nuxeo]MyDocument has been modified by znuxeo

I do not know how or where to look to figure out what's wrong.

Thank you for your help.

2 REPLIES 2

pibou_Bouvret
Elite Collaborator
Elite Collaborator

Same kind of problem on 5.8

pibou_Bouvret
Elite Collaborator
Elite Collaborator

My problem came from the org.nuxeo.ecm.social.workspace.notifications that declares synonymous notifications (much like NXP-12215)

The best way to proceed, in that case and others, is to install the explorer extension so that you see clearly which extension points are used on the running instance. In your case, the same event might correspond to several notifications, hence different mails.

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.