Closed (fixed)
Project:
Entity reference
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 May 2015 at 21:36 UTC
Updated:
27 Nov 2015 at 08:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
geoffreyr commentedThis seems to be triggered when selecting Entity ID as the display type. Currently noticing this while I try and Formatter Field working with Paragraphs - there's no initialisation for
$elementtaking place in this function.Comment #2
geoffreyr commentedHere's a really tiny patch that should address the issue.
Comment #3
damienmckennaComment #4
devin carlson commentedThis is very easy to run into while using the Entity Embed module.
The one-line patch in #2 applies cleanly to Entity Reference 7.x-1.x and ensures that
$elementis always defined. This is the same approach taken by the example implementation ofhook_field_formatter_settings_form()infield_ui.api.php.Comment #6
jenlamptonPatch in #2 didn't apply to 7.x-1.x-dev for me. Rerolled.
Comment #8
jenlamptonUploading previous patch to see if that passes tests, maybe my local branch is borked?
Comment #9
jenlamptonyeah, looks like it. setting back to RTBC.
Comment #10
devin carlson commentedRe-tested #2 and committed it to Entity Reference 7.x-1.x.