Closed (fixed)
Project:
Pathauto
Version:
6.x-1.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Jul 2012 at 03:10 UTC
Updated:
16 Jul 2012 at 13:51 UTC
Jump to comment: Most recent file
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 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.