I have installed taxonomy redirect, and I am also using pathauto, furthermore, I'm on Drupal 5.10.

This is all being setup on a dev environment, with the intention of rolling it to the live site.

Now, I have a redirect setup to redirect my artists vocab to band-profile/!tid

And I have created a view, band-profile, which accepts the !tid as an argument. Works GREAT! (thanks)

So, the case is this, I have an artists term, called Phish, and when I go to edit this term (I want to change the weight), the term updates, but creates a new url-alias called band-profile/phish and renames the old one with a -0

ORIG ROWS:
| 1917 | taxonomy/term/101/0/feed | artists/phish/feed |
| 1916 | taxonomy/term/101 | artists/phish |

AFTER TAX-REDIRECT & Term Update:
| 1917 | taxonomy/term/101/0/feed | artists/phish-0/feed |
| 1916 | taxonomy/term/101 | artists/phish |
| 9169 | band-profile/101 | artists/phish-0 |

this does not seem desirable, as when someone now clicks on the tag phish, the view is unable to find the appropriate content.

it seems to me, that out of the box, where the path is getting renamed for tags is great, the creation or updating of the url aliases table is not. Maybe this is a bug, maybe it's by design...

Comments

trevorleenc’s picture

ok, somehow I had a 1.1 version of this module...since reloaded the site, and started fresh with 1.3, but still seeing this as a problem...

here's the output from when I went to update the vocab term 'Phish'

* The automatically generated alias artists/phish conflicted with an existing alias. Alias changed to artists/phish-0.
* Created new alias artists/phish-0 for band-profile/101
* Created new alias artists/phish-0/feed for taxonomy/term/101/0/feed, replacing artists/phish/feed
* Updated term Phish.

*sigh*

agileware’s picture

Status: Active » Closed (won't fix)

Hi trevorlee_nc,

Taxonomy redirect actually only uses hook_term_path (http://api.drupal.org/api/function/hook_term_path/6) to modify paths for taxonomy terms, it doesn't actually create path aliases. This is why the redirect only works for taxonomy links placed by the taxonomy module and if you type the url in the redirect doesn't work.

The updating of url aliases that you are seeing is not being done by taxonomy_redirect. When you update a taxonomy term the taxonomy redirect module doesn't actually do anything. This looks like an issue regarding the path auto module.

trevorleenc’s picture

I've created this issue for pathauto: http://drupal.org/node/314188

trevorleenc’s picture

sadly, this looks like something that won't get solved...

last entry from greggles: http://drupal.org/node/314188#comment-1046662

Not really. I don't use taxonomy_redirect and while I understand from that other issue that it uses a "Drupal" standard way to do what it does...I don't understand that area well enough to figure out how it might expose this symptom of a bug Pathauto.