Needs review
Project:
Notifications
Version:
6.x-2.3
Component:
Notifications
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Jun 2011 at 07:20 UTC
Updated:
9 Mar 2013 at 14:19 UTC
I am using Outline Designer to facilitate books organization.
The problem is that each time a page is moved in the hierarchy, the page weigh attribute of many nodes is changed, firing a blast of notifications.
There is a tick box on the node form to prevent notification but it work only in the case of manual editing.
How notifications could be prevented in this kind of situation?
Thanks for help
Comments
Comment #1
jvieille commentedFound the problem.
I set this as a bug, definitely
Major as this can be devastating : notifications are fired as soon as something happens to a node which does not involve the edit form (think about VBO, rules...
The code was checking an empty notifications_content_disable variable. Empty means "0" as well as nothing.
When a node is updated from the edit form, the variable is set to either 0 or 1
When a node is updated by backend actions, the form is not involved and this variable is not set at all.
Checkg the "0" value insited of empty solved the issue
in notifications_content.module: