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.
One of the messages at node _pathauto_bulkupdate()
is not using _pathauto_verbose()
wrapper. Then the message is always shown, and it does not any check.
This bug does not seem to affect 7.x-1.x or 6.x-2.x, so I'm providing a patch for 6.x-1.x
Comment | File | Size | Author |
---|---|---|---|
#1 | 0001-Issue-1913020-by-marvil07-Fixed-Generation-message-n.patch | 877 bytes | marvil07 |
Comments
Comment #1
marvil07 CreditAttribution: marvil07 commentedComment #2
Dave ReidNone of the _bulkupdate() functions check the verbose setting. This is because these code paths are only triggered from a specific admin action for Pathauto, it's ok to always show the message. The verbose setting is more for what happens when an URL alias changes for individual things where it may not be apparent that Pathauto is actually doing something.
So why do we need this?
Comment #3
marvil07 CreditAttribution: marvil07 commentedI see, then I guess
node_pathauto_bulkupdate()
should not be called manually, right? (that's why I end up on that).Comment #4
Dave ReidIt's intended to be used as a batch API callback by Pathauto, so yes this is a little unanticipated to be called directly.