Closed (won't fix)
Project:
Drupal core
Version:
7.0
Component:
node.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 May 2010 at 18:17 UTC
Updated:
22 Sep 2012 at 00:53 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
kcybulski commentedPatch
Comment #2
kcybulski commentedW really need tests.
On node preview.
* Notice: Undefined property: stdClass::$title in node_build_content() (line 1265 of /var/www/drupal7/modules/node/node.module).
* Notice: Undefined property: stdClass::$title in template_preprocess_node() (line 1337 of /var/www/drupal7/modules/node/node.module).
* Notice: Undefined property: stdClass::$title in template_preprocess_node() (line 1337 of /var/www/drupal7/modules/node/node.module).
Why we are running template_preprocess_node() two times ?
Comment #3
damien tournoud commentedDoesn't qualify as critical, but we indeed need to fix this.
Comment #4
kcybulski commented# Notice: Undefined index: title in rdf_preprocess_node() (line 482 of /var/www/drupal7/modules/rdf/rdf.module).
# Notice: Undefined index: title in rdf_preprocess_node() (line 482 of /var/www/drupal7/modules/rdf/rdf.module).
Notice: Undefined property: stdClass::$title in menu_node_save() (line 513 of /var/www/drupal7/modules/menu/menu.module).
Comment #5
kcybulski commentedneeds review
Comment #7
kcybulski commentedagain
Comment #9
kcybulski commentedComment #10
retester2010 commented#9: title3.patch queued for re-testing.
Comment #12
Vc Developer commentedAny news on getting this fixed? I get a something of the same:
Notice: Undefined property: stdClass::$title in template_preprocess_node() (line 1450 of /var/www/drupal/7.0/drupal-7.0/modules/node/node.module).
Notice: Undefined property: stdClass::$title in node_page_title() (line 2076 of /var/www/drupal/7.0/drupal-7.0/modules/node/node.module).
When using "Quick Tabs for D7" with the "Hide the title of this node" enabled. Works fine otherwise!
Comment #13
eleleka commentedThe same trouble
Comment #14
berdirThat line makes no sense. You can't trim the result of isset(). Also, the menu link needs to have a title. So not sure what should happen in case it doesnt' exist.
And not sure about that patch anyway. Shouldn't $node->title be set to an empty string instead by whatever module is hiding it?
Or can someone confirm that this happens with *only* core, without any modules that hide the title?
Powered by Dreditor.
Comment #15
Anonymous (not verified) commentedNo response from OP.