Scenario:
- Search API view
- Relationship to related node (Relation module)
- Field for node title, using relationship
Expected:
Node title of related node should be displayed.
Experienced:
No value displayed for node title.
The same happens with any other property/field of the related node.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | entity-2174645-1-views-relationships.patch | 1.11 KB | milesw |
Comments
Comment #1
milesw commentedLooks like the bug was introduced in version 1.3...
#1796110: Rendered entity fields show same result
The small change in this patch seems to restore things to normal.
Comment #2
Paul B commentedAnother scenario:
- Create a view for users
- Add a relationship to profiles (profile2)
- require this relationship
- add a field 'rendered profile' displayed as entity label
This gives me a fatal error:
The patch gets rid of the error but the label is not rendered. If I revert to entity API 7.x-1.2, it works fine.
Comment #3
k.skarlatos commentedI have the following scenario:
A view of taxonomy terms, that has a relationship that shows "content with terms". i then use the "Content: Rendered Node" field, and it does not show any results.
The patch fixes my issue.
Comment #4
jawi commentedSame issue here. No items of views relations are shown.
https://drupal.org/comment/8366731
Patch fixed this issue. Patched tested and ok!
Comment #5
eric_a commentedDuplicate of the older #2171689: EntityMalformedException: after upgrade from 7.x-1.2 to 7.x-1.3. (And where we have a core maintainer's attention and guidance.) Patch here is an exact duplicate.
Comment #7
drummComment #8
ayalon commentedthanks! this solved my problems!
Comment #9
giorgoskNo need to patch anything
just download the latest entity 7.x-1.x-dev 2014-Jan-21 or later
which incorporates this fix above which is duplicate of fix in #2171689: EntityMalformedException: after upgrade from 7.x-1.2 to 7.x-1.3
Comment #10
r2coder commentedThis issue has resurfaced;
Steps to duplicate:
Run cron via Drush.
Error: Call to undefined method stdClass::label() in /sites/all/modules/contrib/entity/entity.module, line 1134
System Particulars
Drupal: 7.35
PHP: 5.6.5
CentOS: 6.5
Apache 2.2
Entity related modules
Entity API 7.x-1.6
Entity cache 7.x-1.2
Entity reference 7.x-1.1
Entity Reference View Widget 7.x-2.0-rc6
Entityform 7.x-2.0-rc1
Entityreference prepopulate 7.x-1.5
Comment #11
saurabh.tripathi.cs commentedUsing below modules:
Views 7.x-3.7
Entity API
7.x-1.2
On running cron i get below error:
Call to undefined method stdClass::label() in /sites/all/modules/contrib/entity/entity.module on line 1051