Closed (duplicate)
Project:
Pathauto
Version:
5.x-2.1
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
24 Mar 2008 at 18:22 UTC
Updated:
25 Mar 2008 at 19:46 UTC
Jump to comment: Most recent file
Comments
Comment #1
gregglesThat should be it. Note that pathauto only generates aliases when 1) you create a taxonomy term 2) you do a bulk generate and don't currently have aliases for a term.
Can you create a new taxonomy term? Does that new term get aliased?
If you did create a new term and no alias was created, are you generating taxonomy terms via the admin/content/taxonomy forms or doing it programatically in code?
Comment #2
nancydruAfter deleting ALL taxonomy URL aliases, I bulk updated.
Indeed it created an alias of "faq/about_us.htm" for "taxonomy/term/28". However, the FAQ vocabulary is owned by the FAQ module, so the actual correct taxonomy_term_path should be "faq/28" not "taxonomy/term/28". I can absolutely guarantee that calling taxonomy_term_path returns the correct string.
The problem here is that the "dst" column is built correctly but the "src" column is not.
Comment #3
gregglesWhen you say that "faq vocabulary is owned by the FAQ module" do you mean that the faq module provides a listing for the taxonomy pages like the image gallery and forum modules do?
There is some support (though it is mildly broken, currently) for modules like image gallery and forum which have their own taxonomy alias pages. Perhaps you can look at the various image gallery issues in the queue and see if the problems described there are the same as your issue?
Comment #4
nancydruIf the vocabulary table has an entry in the "module" column, taxonomy_term_path passes control to hook_term_path so that module can correctly build the path to the module's processing routine.
My vocabulary table has "faq" in that column and I have a "faq_term_path" that would correctly return "faq/28" for the "src" column. That's what I mean "owned by."
And yes, I have looked at the issues for Pathauto and yes, there is at least one that sounds pretty much identical. However, I just downloaded this module a day or two ago and the problem is still there - at least as far as FAQ goes.
Comment #5
nancydruIt's a one-liner.
Comment #6
nancydruMight as well call it a bug now.
Comment #7
gregglesIf you could find which one is the duplicate and post this there, that would be great. Otherwise if this change goes in from this issue then it is unlikely to get testing from the people who really care about image galleries and forums etc. Thanks.
Comment #8
gregglesI guess it's a duplicate of http://drupal.org/node/188606 then...