Closed (fixed)
Project:
Entity Embed
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
17 Nov 2016 at 19:51 UTC
Updated:
14 Dec 2018 at 16:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
dave reidThis is an issue with Entity Embed. We are discussing reverting the change that makes each view mode its own option in #2845085: Avoid conflating @EntityEmbedDisplay plugins and view modes which would resolve this issue.
Comment #3
marcoscanoComment #4
wim leersComment #5
wim leersActually, this is just a simple oversight. The problem is that
\Drupal\entity_embed\Plugin\Derivative\ViewModeDeriver's computation is not being invalidated when it should. It should be refreshed whenconfig:entity_view_mode_listis invalidated.This is a problem many plugin derivers face, hence the #3001284: Allow plugin derivers to specify cache tags for their definitions core issue.
But until #3001284 lands, this solves it.
Comment #7
wim leersOnce again, the 3 usual failures that are known in HEAD.
Comment #9
phenaproximaLooks great. Thanks! Committed and pushed.