Adding an instance of any EBT block type to content entity using a field in the content type gives php error

Created on 14 July 2024, 5 months ago
Updated 17 July 2024, 5 months ago

Problem/Motivation

Adding an instance of any EBT block type to content entity using a field in the content type gives the error as shown in the attached screenshot

Steps to reproduce

1) Create a new content type and save.
2) Add a field of type Block (plugin) with the following settings:
a) Allowed number of values: Unlimited.
b) Selection Method: Blocks.
c) Available blocks: deselect the selected and then select all the EBT block types (inline blocks).
d) Save the field and content type.
e) Layout builder is enabled on the Default view mode but not on Teaser or Full Content mode. Allow each content item to have its layout customized is also selected
3) Go and add content of the type created above.
4) Fill title and body field.
5) Add an EBT block (of any type) and click save.
6) I get the error shown in the attached screenshot.

Proposed resolution

I am not sure.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: works as designed

Version

1.4

Component

Code

Created by

🇬🇧United Kingdom aanjaneyam

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

Comments & Activities

Production build 0.71.5 2024