Patterns that contain a wildcard in the middle of the path can't be deleted with the bulk delete batch job.

CommentFileSizeAuthor
#1 1299460.patch617 bytesgoogletorp

Comments

googletorp’s picture

Status: Active » Needs review
StatusFileSize
new617 bytes

The problem is that db_like is being used. While this normally is the intended to use it for like queries, in this case it removes the possibility to add wildcards in urls, as they will be escaped. This is not used when the query is run to count the number of aliases which results in the number of alias that should be deleted is correctly shown, but none is deleted.

dave reid’s picture

Status: Needs review » Closed (works as designed)

This is by design - Pathauto no longer supports 'sub-paths' (e.g. user/*/contact) as they can easily increase the size of the {url_alias} table when there are better solutions like http://drupal.org/project/subpathauto out there.