In a multilingual site, (using i18n), when you do a URL alias for a node not in the default language: //, and then delete the node (for example, from: /admin/content/node), the url alias doesn't get deleted from the {url_alias} table; it can still be seen in /admin/build/path. This doesn't happen for Language neutral nodes or ones in the default language.
Bug fix attached, the language parameter was missing for the drupal_get_path_alias() call in path.module's implementation of hook_nodeapi() when deleting a path. (line 170)
| Comment | File | Size | Author |
|---|---|---|---|
| path.diff | 133 bytes | ChaoticMind |
Comments
Comment #1
dave reidDuplicate of #481706: Path_node_delete can leave abandoned URL aliases