Closed (fixed)
Project:
Entity Embed
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
10 Oct 2016 at 13:55 UTC
Updated:
31 Oct 2016 at 10:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
recrit commentedPatch attached adds an empty check before accessing the array index.
Comment #3
recrit commentedrenamed patch file to match correct line number.
Comment #4
slashrsm commentedLooks good to me. Could you provide more background info (which display plugin, how embed code for existing embed looks, steps to reproduce)?
Comment #5
recrit commentedComment #6
recrit commented@slashrsm - it was the lightning media browser.
I uploaded the missing screenshot: https://www.drupal.org/files/issues/screenshot_257.png
It would get stuck / stopped at that step, and then the error message would be logged.
Comment #7
slashrsm commentedScreenshot doesn't say much. Could you share steps to reproduce this in Lightning? I doubt that this error can stop embedding from working all together. It is just a notice after all. What happens if you press "Next"?
Does the patch fix the problem with embed stuck on that page?
Comment #8
recrit commentedPatch fixes the issue. Same issue as seen on #2786493: EntityEmbedDialog causes undefined index notice if no embed display settings are presented to the user only for existing content.
Comment #10
slashrsm commentedCommitted. Thanks.