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.

Files: 
CommentFileSizeAuthor
#1 publishcontent-1667880-1.patch524 bytespatrick.davey

Comments

StatusFileSize
new524 bytes

Title:Publish content doesn't play nicely with pathautoPathauto doesn't properly keep track of node aliases
Project:Publish Content» Pathauto
Status:Patch (to be ported)» Active

publishcontent 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.

Status:Active» Fixed

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.