Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: 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: