Closed (outdated)
Project:
Pathauto
Version:
6.x-1.5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Nov 2010 at 18:06 UTC
Updated:
7 Feb 2026 at 10:15 UTC
Jump to comment: Most recent
Hallo pathauto dev team,
I faced recently a quite serious mistake – pathauto creats the aliases to the already existing nodes. The mistake appears when there is the node having for example a name “kaktus” (nid = 123). If somebody tries to add new node calling “kaktus :)” (nid = 234) then the pathauto logic will remove “ :)” and try to create an alias that points to nid = 123. This is wrong, because the correct nid = 234.
In my conversion rules the module removes spaces, “:” and “)” signs.
In my case the right pathauto behavior would be to add at the end of alias digit 1, e.g. “kaktus1”.
Thank you in advance,
Siegfrid
Comments
Comment #1
dave reidThat's what it should be doing and has been doing for a while.
Comment #2
Siegfrid commentedThe conversion is working only for nodes having the same name, e.g. "kaktus" and nid = 123..128. Then each node will get it's own alias. But in my case user tries to add a new node having particular same name, i.e. "kaktus :)" nid = 234, and seems that conversion logic does not check after preprocessing (removing special signs) whether there is such alias or not for the new processed name - "kaktus" and nid = 234.
Hope I have clearly explained my case :)
Comment #3
gregglesYou explained your case, but I can't reproduce it.
I followed the steps exactly and the resulting alias was content/kaktus-0
Can you try again on a fresh system and write down every configuration step you take?
Comment #4
gregglesOne other thought - perhaps this is caused by language? Do the two nodes have different languages on them?
Comment #5
Siegfrid commentedYes, it is. I'm using transliteration module to convert kyrillic into latain.
Comment #6
Siegfrid commentedOne more hint. I faced that the special sings like ":" and ")" only removes independing on conversion rule (i.e. change on default separator - "-").
As a temporary solution I decided to use additionally nid in the alias name.
Comment #7
mably commented