U4-11132 - Only the first user subscribed to a notification will receive the notification email

Created by Tom 19 Mar 2018, 16:04:06 Updated by Ismael 17 Aug 2018, 01:32:39

Your report will have a greater chance of being addressed if you can give us clear steps to reproduce the issue, please answer the following questions in as much detail as possible: What did you do? Setup 3 users; 2 Editors & 1 Writer. Subscribe the 2 editors to receive "Send To Publish" notifications. Using the Writer user send a page for approval. What did you expect to happen? Both users to receive the notification email What actually happened? The editor that was created first will only receive the notification email.

This appears to be due to this line of code: https://github.com/umbraco/Umbraco-CMS/blob/dev-v7/src/Umbraco.Core/Services/NotificationService.cs#L101 as it doesn't actually increment the "i" variable. Unlike how it does here: https://github.com/umbraco/Umbraco-CMS/blob/dev-v7/src/Umbraco.Core/Services/NotificationService.cs#L193

Comments

Ismael 17 Aug 2018, 01:32:39

Just tested in 7.12.0 and the issue is still occurring. However my experience is slightly different, I had five users subscribe to the Send to Publish event, and only three emails were sent when the writer clicked send to publish, it seems very second entry in the umbracoUser2Notify table was ignored, so it looks like an increment is occurring but it's incrementing twice?


Priority: Normal

Type: Bug

State: Submitted

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.6.3, 7.12.0

Due in version:

Sprint:

Story Points:

Cycle: