New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Content 'Send to publish' notifications doesn't work for more root nodes #12194
Comments
Hey @ricbrady, I've had a quick look, this issue applies to all notifications - I've subscribed to publish notifications and confirm that they only send for the first root node. Will see if I can find why, but this certainly looks like something needing attention. |
Looks like the problem is in this block, particularly the check at L113: Umbraco-CMS/src/Umbraco.Infrastructure/Services/Implement/NotificationService.cs Lines 97 to 130 in 5bfab13
Because notifications are inherited, it's assumed the first notification in the set can be used to determine if the notifications apply to the current node (by checking the notification id against the current entity's path). If the notification id is in the entity path, send the email. The issue with sibling root nodes is because the first notification id will be the first root node id, so will never match on the sibling nodes. This also means notifications will only work for the first root node with notifications enabled (that might be the second, third node), since the notifications are treated as representing a path to a node, not siblings. Passing the entity ids to |
Any news? |
Fixed in #13805, thanks for reporting 😄 |
Which exact Umbraco version are you using? For example: 9.0.1 - don't just write v9
9.4.1
Bug summary
I would like to set the notification for the 'send to publish' action.
In my Umbraco I have 2 Root nodes and I've configured the notifications for both.
The problem is that I receive the notifications only for the nodes that are under the first root node where I've configured the subscription. No way to receive something for the second.
Specifics
No response
Steps to reproduce
Subscrive to receive notifications for 'SendToPublish' action for 2 root nodes contents and try to send some content to be published.
You will receive the notification only for the nodes where you subribe first
Expected result / actual result
Receive notification for all configured nodes
This item has been added to our backlog AB#26479
The text was updated successfully, but these errors were encountered: