EntityStorageException when saving layout using exposed block setting

Created on 9 July 2023, over 1 year ago

I have a pattern setting with allow_expose: true mapped to a list_string field in a block type. The setting shows up in the Layout Builder block configuration form as expected when placing or editing a block.

When saving the layout with an instance of that block type, I get an exception:

Drupal\Core\Entity\EntityStorageException: Field layout_builder__layout is unknown. in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 817 of /var/www/html/public/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).

Drupal 10.1.0

🐛 Bug report
Status

Closed: works as designed

Version

3.0

Component

Code

Created by

🇳🇿New Zealand john pitcairn

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

Comments & Activities

Production build 0.71.5 2024