Layout Builder: Error 500 if existing configuration for missing region

Created on 8 April 2024, 7 months ago
Updated 7 May 2024, 6 months ago

Problem/Motivation

When my ui_styles configuration doesn't match layout, I get 500 error on Layout Builder page. It prevents me from fixing the configuration.
The issue appeared with unfinished drupal core "Change layout" proposition Allow changing the layout of an existing section in Layout Builder UI Needs work .

Steps to reproduce

1. Apply patch from Allow changing the layout of an existing section in Layout Builder UI Needs work
2. Go "Change layout", select with less available areas.
3. Layout page is broken forever.

Proposed resolution

Skip existing configuration if it can't be applied to allow reconfiguration.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇷🇺Russia lexbritvin

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