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

greggles’s picture

Status: Active » Closed (duplicate)

This seems like a duplicate of #631460: Prevent pathauto_cleanstring() from creating empty components which I just gave a better title.

Michsk’s picture

Yes 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.

greggles’s picture

Well, 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.

greggles’s picture

check_markup in core, for example, uses "n/a" when there is no text at the end of its processing.