Closed (duplicate)
Project:
Drupal core
Version:
5.1
Component:
path.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Jun 2007 at 08:13 UTC
Updated:
4 Jan 2008 at 23:46 UTC
If the anonymous and registered users haven't the "administer url aliases" permission they don't see the alias in links. In other words, the variable "path" is NULL.
Comments
Comment #1
gregglesCan you explain in more detail how and where this is a problem?
Comment #2
carlitus commentedWell...i'll try to explain with an example:
I've a node that has an alias "title-of-node". When a non admin user views this node link it is empty:
If i check on the "administer pathauto" permission the node link wil be ok:
It only happen with nodes and not with taxonomy or users path alias.
Comment #3
carlitus commentedSorry, the permission is "administer url aliases" not "administer pathauto".
The issue title is correct but i'll had to post it in "path.module" not in "pathauto.module" bugs. Sorry.
Comment #4
gregglesThis is quite interesting and indeed a problem with core, not pathauto.
I've never seen this before, so it will likely take more information from you to figure out.
How are these links being created? Are you using the l() function? Something else?
Comment #5
carlitus commentedIn the frontpage i've put some block views and i've rewrite the ouput using l() function for links but the link href atribute are empty.
In node.tpl.php i've used a "a" tag with base_path() and $node->path but this last item ($node->path) it's empty when the user has no "administer url aliases" permission, the same as above.
Comment #6
kerrizor commentedhttp://drupal.org/node/204413