Closed (duplicate)
Project:
Pathauto
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Feb 2010 at 23:10 UTC
Updated:
25 Feb 2010 at 14:40 UTC
Ok title maybe a bit shady, but this is whats going on.
When someone creates a node (in the forum is where i get this) with a title like ??? or ... and maybe also with other characters (not tested). There is no path generated.
I use the the following path for forum items
forum/[term-raw]/[title-raw]
Anyone got an idea how to fix this, and is this even addressed, couldnt find it in the issues
Comments
Comment #1
gregglesThis seems like a duplicate of #631460: Prevent pathauto_cleanstring() from creating empty components which I just gave a better title.
Comment #2
Michsk commentedYes it looks like a kind of duplicate of that issue. The thing is that it's not really a bug tough, it's got to do with the settings. I set them to delete punctuation and question marks. But if the title only exists of those characters there should be some kind of fallout.
Comment #3
gregglesWell, your problem is with the punctuation, there problem is with the strings to remove, but ultimately the end result is the same: If Pathauto is about to clean a token down to nothing it should insert a stub of some sort.
Comment #4
gregglescheck_markup in core, for example, uses "n/a" when there is no text at the end of its processing.