Closed (outdated)
Project:
Drupal core
Version:
6.x-dev
Component:
path.module
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
4 Jun 2009 at 07:44 UTC
Updated:
2 Mar 2016 at 22:18 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
j0hn-smith commentedComment #2
dave reidThe logic in path_node_delete will only delete path aliases for a node only if the user has certain permissions and checking drupal_get_path_alias(). If a user that doesn't have the create url alias permission deletes a node, those records are still left in {url_alias} when they should have been removed since the source path no longer exists.
Comment #4
dave reidHeh...whoops!
Comment #5
dries commentedI committed this to CVS because it is an obvious bugfix. We should have tests for this. I also wonder if we need to do a clean-up update function.
Should probably be backported to Drupal 6 too.
Comment #7
dave reidShould no longer need tests since we added the new API. But this still needs to be backported.
Comment #8
dave reidComment #9
thedavidmeister commentedI do not know if we still intend to back port this to D6 but the patch does not apply anymore:
error: path/path.module: No such file or directory