Closed (works as designed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
node system
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
8 Apr 2009 at 20:13 UTC
Updated:
29 Jul 2014 at 18:13 UTC
Jump to comment: Most recent file
Comments
Comment #1
gregglesWe could get even more direct with this.
I guess that this would need some documentation on the update modules page to describe the change. Proposed text:
Comment #3
pwolanin commentedthis is failing testin for good reason - we have a feature in the menu system since D6 that the page title may be set by a menu link title, if a menu link exists for the current page.
So - on these pages in the test, the page title does not match the node title.
this is a deliberate feature we added in D6 - the drupal_set_title() could be seen as a way to bypass this feature. An alternative would be to automagically always or usually set the link title to match the node title.g
Comment #4
Tor Arne Thune commentedThis is commented in the code now:
Comment #5
vomitHatSteve commentedI'm sorry. I don't see why this behavior is desirable. If a contrib. module explicitly declares a path that matches a node's implicit path, shouldn't the contrib. title take precedence?
This also results in other undesirable behavior. What if the title is modified in hook_init, hook_boot, or some other early processing function? It will be overwritten again by this node_page_view.
Comment #6
gregglesSeems like this is the right status then?