Closed (fixed)
Project:
Pathauto
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Nov 2009 at 00:06 UTC
Updated:
12 Jul 2010 at 19:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
Michsk commentedwhen the path should be /members/a
Comment #2
dave reidI used the user profile pattern 'members/[user-raw]' and registered a new user on my site, and it worked just fine for me. Can you give this a try with the latest code and double check your URL alias patterns?
Comment #3
gregglesI think this is a "words to remove" problem because of the username "a."
I guess Pathauto should do something different if the only words in a string are words to remove?
Comment #4
Michsk commentedif i will find out more about this one i will post it.
Comment #5
gregglesBetter title and marking #724894: characters are not changed nor working as a duplicate.
Comment #6
Freso commentedMarked #727302: If node title contains only ignore words, it results to a blank alias as a duplicate. Also, I'm guessing this applies to 7.x-1.x as well.
Comment #7
arpeggio commentedI would like to suggest for the fix of this issue: Optionally we can left the alias untounched to avoid blank alias if component contains only the ignore words. Here's the suggestion fix for pathauto.inc starting line 183:
Comment #8
dave reidI really like this idea of checking if the output will be an empty string, then don't use the replaced-word-output. This will need a test to confirm it works and stays working though.
Comment #9
arpeggio commentedSure of course we need to test it. Although I made my own testing and it works fine but only for nodes. Others like taxonomy, user-tracker and user path I only assume their auto path routine work the same as nodes.
Comment #10
dave reidInitial patch with small test for D7.
Comment #11
dave reidBetter title
Comment #12
Michsk commentedwhen will this be back-ported to D6?
Comment #13
dave reidAfter this gets reviewed and committed to Drupal 7.
Comment #14
Michsk commentedok so i guess... come on, come on, come on!
Comment #15
gregglesI appreciate your enthusiasm, but the best thing to move it forward is a patch review.
Comment #16
dave reidCommitted this patch to all three branches!
http://drupal.org/cvs?commit=385358
http://drupal.org/cvs?commit=385364
http://drupal.org/cvs?commit=385366