Hello

I installed Pathauto on a Drupal 6 set-up and configured it to use "tag/[cat-raw]" for the terms in my "Tags" vocabulary (free tagging). However, when assigning new tags (or performing bulk alias creation), it doesn't seem to take the full alias configured but only the part before the slash. So, the first new tag I create gets the alias "tag", the second one "tag-0", etc. I also changed "tag" to something else but it remains the same. Also using "tag/[cat-raw]" as the default pattern for categories instead doesn't help.

I never tested or used Pathauto with Drupal 5. Could this be a Drupal 6 problem?

Thanks in advance.

Comments

greggles’s picture

Title: Category path settings not working » category tokens not generated/replaced
Component: Miscellaneous » Code
Category: support » bug
Status: Active » Postponed (maintainer needs more info)

What kind of a taxonomy was this for?

I think this is only a 6.x problem. It would be helpful if you could state the steps to repeat this:

1. create new vocabulary of type x
2. add options y, z
3. create new term via the form (or via node if it's free tagging)

etc.

dietr_ch’s picture

Status: Postponed (maintainer needs more info) » Active

I tried the steps you described but the problem keeps coming forward with all sorts of taxonomies. Also, I noticed the automatic alias generated for a node overwrites an existing one, even though it is configured to keep existing aliases working.

greggles’s picture

Status: Active » Postponed (maintainer needs more info)

Those weren't my steps to repeat, they were a template for you to use:

It would be helpful if you could state the steps to repeat this:

I tested aagain and it works fine for me so, please, provide a set of steps that consistently repeat this problem or I will ignore the issue.

dietr_ch’s picture

I don't know how I could describe the steps other than possible with Drupal. There aren't exactly multiple ways of doing this with an almost default Drupal install.

  1. Create a new vocabulary with a random name and free tagging enabled (or not, doesn't make a difference).
  2. Add a term or create a page with a tag (when using free tagging) and notice the alias tag-x is created instead of tag/[cat-raw].

Ignoring the issue would be easy, but I don't make this up. It is an upgraded Drupal 5.7, I don't know if this makes a difference. The other aliases configured for nodes ([title-raw] by default and blog/[title-raw] for Stories) work perfectly.

greggles’s picture

well, when I follow those steps it works fine. so there's not much more I can do.

dietr_ch’s picture

Figured out it only occurs with [cat-raw] and not [catpath-raw]. My problem is solved now, but this seems like a real bug in Pathauto.

greggles’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

I tried to repeat this again using both the cat and catpath versions and they both worked fine.

Perhaps this was fixed as part of http://drupal.org/node/219541

I'm marking this duplicate of that. If that's not the case please re-open it.