Layout Paragraphs should not attempt an access check if the operation is NULL

Created on 15 April 2025, 10 days ago

Problem/Motivation

LayoutParagraphsBuilderAccess.php::access allows for NULL $operation values. In the case of NULL, the entity access check against a paragraph should be avoided since it won't have any effect and can cause issues in other modules, such as scheduled_transitions, that assume $operation to be a string value.

πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States pixelwhip

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024