Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I have Fatal error "EntityMalformedException - Propriété de bundle manquante sur l'entité de type node." on custom pane preview, if I'm using a "Entity: Field Value" access plugin
It's because $context->data is null, i don't have node context and pane is custom (not node view)
Comment | File | Size | Author |
---|---|---|---|
#3 | ctools-7.x-1.3-fix-fatal-while-preview-1903866-3.patch | 873 bytes | bpresles |
#1 | ctools-7.x-1.2-fix-fatal-while-preview-1903866-1.patch | 1.03 KB | agalitsyn |
Comments
Comment #1
agalitsyn CreditAttribution: agalitsyn commentedHere is patch
Comment #3
bpresles CreditAttribution: bpresles commentedI generated a new patch that should pass validation
Comment #4
maximpodorov CreditAttribution: maximpodorov commentedHere #1630820: entity_field_value is completely broken is the patch which fixes Entity field value plugin.
Comment #5
tripper54 CreditAttribution: tripper54 commentedPatch in #3 applies cleanly and fixes the problem. Thanks!
Comment #6
jm_drupal CreditAttribution: jm_drupal commentedPatch in #3 fixes my problem too. I was getting "EntityMalformedException" error when i try to access any views 'page display' only. "Views block display" was working ok. This patch in #3 fixes my problem. Thanks.
Comment #8
japerryMarking as duplicate, as this is fixed in #1630820
Specifically in the diff:
is now there before this function in #3 which means we don't need to perform this check.