Needs work
Project:
Entity API
Version:
7.x-1.x-dev
Component:
Views integration
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
13 Apr 2014 at 09:40 UTC
Updated:
8 Mar 2017 at 19:28 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
lchang commentedComment #2
lchang commentedComment #3
robbertnl commentedThank you. This patch fixed this issue https://www.drupal.org/node/2190977 for me
Comment #4
ronino commentedI have a view that displays nodes with images from field_collection items. If however the node of the last row on the current page doesn't have an image, no images at all are displayed for all the rows. I found that this bug is the cause.
#1 should fix the problem, but still return the wrong type if there are only wrappers with no items.
I attached a patch that should work in any case.
Comment #5
bramvandenbulcke commentedThanks alot! This also fixes https://www.drupal.org/node/2190977 for me.
Comment #6
pq commentedFixes the issue for me with no apparent side effects.
Comment #7
sardis commentedThat's the exact solution i came to with my issue, that's quite similar to #2190977: Search API Product Display does not display images or price using fields.
Fixed my problem as well! Thank you, @Ichang & @Ronino!
Comment #8
dawehnerNote: I'm not a maintainer of entity API in Drupal 7 at all.
One thing I would though ask, when I would have to look at the patch. Why can't we provide a test for this bugfix?
Comment #9
fagoPhew, interesting edge case. I agree with dawehner that it would be good to make sure this works properly by adding a test coverage.