ECA Render: render view action doesn't check the access which leads to an exception

Created on 27 January 2025, 2 days ago

Problem/Motivation

The render view action plugin doesn't verify view access which then leads to an exception during rendering because $build = views_embed_view(...$args); return NULL and that then causes a type error with BubbleableMetadata::createFromRenderArray($build); as parameter 1 needs to be an array and NULL is given.

Proposed resolution

Implement an access control for that action plugin.

🐛 Bug report
Status

Active

Version

2.1

Component

Code

Created by

🇩🇪Germany jurgenhaas Gottmadingen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024