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.
When you use publishcontent to unpublish a node which has a pathauto alias, the module doesn't specify
$node->pathauto_perform_alias = FALSE; as per http://drupal.org/node/1179988
This patch checks to see if pathauto is in the module list, and if so sets the flag.
Comment | File | Size | Author |
---|---|---|---|
#1 | publishcontent-1667880-1.patch | 524 bytes | patrick.davey |
Comments
Comment #1
patrick.davey CreditAttribution: patrick.davey commentedComment #2
AaronBaumanpublishcontent uses node_load and node_save, which are the proper API for dealing with node crud operations.
it's unreasonable for contrib modules (ie. publishcontent) to be responsible for other contrib modules' (ie. pathauto) node properties beyond using the nodeapi.
re-filing as a bug against pathauto.
please re-test against the latest dev version of pathauto and update the version on this issue.
Comment #3
Dave ReidThis is why I wrote http://drupal.org/project/pathauto_persist.