- πΊπΈUnited States les lim
The 2.x branch has the same issue regarding embedded entities as the 1.x branch. When on a Preview Link route and evaluating the access result of embedded entities, nothing in the result stack explicitly returns an AccessResultAllowed, so the embedded entity is not rendered.
- last update
over 1 year ago 34 pass - πΊπΈUnited States les lim
Here's a new patch for the 2.1.x branch. I've removed the section that larowlan highlighted in #3, this is just checking that route entity has a preview link, but this is already implicitly true when we check that the route is a preview link route.
- last update
over 1 year ago PHPLint Failed - πΊπΈUnited States les lim
Found out that entity access might be determined and cached before hook_entity_embed_context_alter() has a chance to run, so we need to reset the entity type access cache.
- last update
over 1 year ago 34 pass - last update
about 1 year ago 34 pass - miiimooo Europe
Updated the patch to add a check for when getRouteName returns NULL (e.g. running in cron)
- Status changed to Postponed: needs info
about 1 year ago 9:23pm 25 October 2023