If a comment is created on a node that is not part of a Group the 'commons_notifiy_node_created_no_groups' email is sent out, stating that a new Node has been created, when actually a comment on said node was created,

This is quite clearly wrong, because as subsequent comments are created users are continuously notified about a new node, that has been present for some time at that point.

Instead, there should be a 'commons_notifiy_comment_created_no_groups' message which should be used.

I suspect this is just down to a copy/paste error that hasn't been picked up as most people wouldn't use a non-group node with comment enabled in Commons.

Patch coming shortly.



Status:Active» Needs review
new13.58 KB

Patch adds new message type and sets said message type to be used when necessary.

Issue summary:View changes
Status:Needs review» Closed (duplicate)

Thanks for your patch! I believe this is a duplicate of #2088421: Wrong message send for comments, when node belongs not to a group, which also has a patch.