Closed (outdated)
Project:
Drupal core
Version:
7.x-dev
Component:
node.module
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
2 Mar 2011 at 04:00 UTC
Updated:
11 Oct 2012 at 17:01 UTC
Jump to comment: Most recent
This is a general problem that search-result.tpl.php talks of different keys that exist by default in $info_split & $info, and some default/'always existing' keys seem to be missing.
This seems to heavily relate to http://drupal.org/node/253725#comment-2638154, except not just for comment information.
$info_split['type'] doesn't exist for example, but it can be fetched via:
$result['node']->type
Not sure if this is a documentation lapse or a bug introduced in Drupal 7.
Comments
Comment #1
Tom-E commentedI've traced it down to the commit #.
Marking as duplicate of http://drupal.org/node/1078174 and potentially reopening there to address this issue.
Comment #2
enochRoot commentedwell, thanks a lot for mentioning this. now it's 2012 and drupal 7.15, but the doc-text in search-result.tpl.php is still the same.
Comment #3
markabur commentedThis issue should not be marked as a duplicate of itself...