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.
The node_publish trigger, which by default is used to send notifications for new content, is only fired if a node is actually created via the web interface. If the node is instead created programmatically, e.g. by Feeds, then hook_exit() isn't called and thus neither is the node_publish trigger.
The end result is that notifications aren't sent for nodes created by Feeds or any module that depends on Feeds, such as Mailhandler.
Comments
Comment #1
thomasflad CreditAttribution: thomasflad commentedIs there a solution for this problem? The problem seems to me an important bug.
Comment #2
thomasflad CreditAttribution: thomasflad commentedComment #3
thomasflad CreditAttribution: thomasflad commentedDoes anyone have some tips how to fire the node_publish trigger for programmatically created nodes? Maybe I can make a suggestion. Just needed a good starting point.