Closed (fixed)
Project:
Drupal core
Version:
6.x-dev
Component:
documentation
Priority:
Normal
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
16 Mar 2011 at 19:04 UTC
Updated:
3 Jan 2014 at 02:58 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jhodgdonThat is true, and it should be fixed. This is a Drupal 6 problem only -- in D7 the function doesn't return anything (it modifies $node in place).
Agreed with the "Novice" tag. Should be a good project for a novice doc contributor.
Comment #2
barbi commentedComment #3
barbi commentedChanged return to "A fully-populated node object."
Comment #4
dawehnernode_load does the same see
so the patch is fine.
Congratulations on your first patch.
@barbi: Critical means that something is really really broken. For example a white screen of death.
Set back to normal again.
Comment #5
gábor hojtsyWell, node_build_content() is only one of the functions that is being used to build up the "fully-populated node object", so I'd not say it builds a fully populated node object. Yes, that is what node_load() does. We should be more specific here and say what it builds.
Comment #6
barbi commentedFollow up:
Can you please suggest a good description?
Comment #7
barbi commentedModified the description to
* An node object with its content property set to structured array
* containing the individual elements of the node's body.
Comment #8
jhodgdonAn node -> A node
set to structured array -> set to a structured array
Other than that, excellent...
Comment #9
barbi commentedSorry for the multiple iterations. Made the two corrections mentioned in #8.
Comment #10
jhodgdonThat looks good to me. And don't worry about multiple iterations -- most issues in Drupal core go through many. This is nothing. :)
Comment #11
gábor hojtsyThanks for the improvements, committed.