Closed (fixed)
Project:
Custom Elements
Version:
3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Aug 2024 at 15:15 UTC
Updated:
1 Sep 2024 at 14:34 UTC
Jump to comment: Most recent
Render something (e.g. a teaser in a list somewhere
Change the CE display
Reload the thing. Content should be changed.
I haven't doublechecked whether it's something in our distribution, but I suspect not. I suspect CustomElementGenerator just needs to add the CE display config entity as cacheable dependency.
Just adding this issue here now to get the list complete.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
junkunczComment #4
junkunczComment #5
roderikGreat, thanks for testing / fixing!
I'm also adding it inside the "else" of buildEntityContent(), where the CE display is disabled. Because when it is enabled again, the same cache tags should be cleared.
But I can do that at the same time as a quick test.
Comment #6
roderikTwo things:
1. My previous comment was dumb. In the "else", there IS no CE display, so you also cannot add it.
2. This is incomplete.
So, cache tags should be added for both cases.
I figured it would be better to do this instead of setting needs work. Please review current status.
Comment #7
junkunczWorks well, good to go!
Comment #9
roderik