Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
3 Feb 2012 at 11:04 UTC
Updated:
4 Jan 2014 at 01:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jhodgdonThanks for reporting this! I think a novice patch contributor could probably fix this.
It appears that it needs fixing in Drupal 8 first:
http://api.drupal.org/api/drupal/core--modules--entity--entity.query.inc...
I'm not sure why the Drupal 8 and 7 versions of this method don't link to each other... probably because the file name has changed. Anyway, that's a separate issue, which I'll file in the API module.
Comment #2
jhodgdonFor anyone interested, here's the issue about the methods not linking to each other:
#1429314: Other versions linking between branches on methods pages seems to be broken
Comment #3
chris.leversuch commentedI've added "The entity type will only exist in the outer array if results were found." to the return description and an if statement has been added to the sample code.
I've also adjusted the line wrap on the first line as the text was wrapping too early - I can remove this change if it shouldn't be included.
Comment #4
jhodgdonLooks good, thanks!
Comment #5
dries commentedCommitted to 8.x. Thanks. Moving to 7.x.
Comment #6
chris.leversuch commentedD7 version.
Comment #7
chris.leversuch commentedRenamed for testing.
Comment #8
jhodgdonThis patch is not the same as th D8 patch. It has a typo "In most this cases this...".
Comment #9
chris.leversuch commentedI knew there was something else I fixed in the D8 version. This one should be correct.
Comment #10
chris.leversuch commentedChange status.
Comment #11
jhodgdonThanks -- now the patches are the same (except context). :)
Comment #12
jhodgdonCommitted to 7.x. My first commit! :)
Comment #13
webchickYAYYY! :D Welcome, Jennifer!!