Closed (duplicate)
Project:
Drupal core
Version:
x.y.z
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Oct 2006 at 17:34 UTC
Updated:
21 Oct 2006 at 10:36 UTC
Jump to comment: Most recent file
Comments
Comment #1
RayZ commentedSorry, this is in the latest 4.7 (and probably 5) cvs not 4.7.3.
Comment #2
chx commentedCan't repro on HEAD.
Comment #3
heine commentedComment #4
heine commentedActually, I can reproduce on HEAD. Patch applies to both HEAD and 4.7 CVS.
Steps to reproduce:
Enable path.module, create an alias for node (eg home).
Create a php node, promote to frontpage:
The node now displays:
<a href="/node" class="active">text</a> on the homepage
<a href="/home" class="active">text</a> on the node/nid itself
Comment #5
heine commentedComment #6
heine commentedOk, the function wrongly caches for example (node as current page)
'node' => false
http://drupal.org/node/65493 contains a patch that also fixes this.
Comment #7
Tobias Maier commentedthe patch at http://drupal.org/node/65493 fixes this.
I think it is the best to work together on one patch...
This is the reason why I set this to duplicate