Layout builder overrides on a single content item not allowed in a workspace

Created on 19 September 2018, almost 6 years ago
Updated 25 April 2024, 2 months ago

Problem/Motivation

Environment:
Drupal 8.6
Workspaces in core 8.6
Layout Builder in core 8.6

Process:
1. Fresh install of Drupal 8.6
2. Workspaces is enabled with two work spaces Live and Stage as generated out of the box when workspaces was enabled
3. Layout builder and Layout Discovery are also enabled
4. Create content type with layout enabled, and specific enable "Allow each content item to have its layout customized."
5. Create a piece of content using new content type in LIVE workspace, override layout and add blocks, works fine.
6. Change into STAGE workspace, try to override layout on same content item and layout UI will not allow to add blocks or remove components.

Proposed resolution

1. Should be able to override a layout for an individual content item in STAGE workspace.
2. Changes to layout in STAGE should not be visible on LIVE environment
3. Ability to then push those layout changes and any content revisions from STAGE to LIVE.

Remaining tasks

Review.

User interface changes

Nope.

API changes

Nope.

Data model changes

The inline_block block plugin now also stores the block's ID in addition to its revision ID.

🐛 Bug report
Status

Fixed

Version

10.3

Component
Workspaces 

Last updated 16 days ago

No maintainer
Created by

🇦🇺Australia velocis

Live updates comments and jobs are added and updated live.
  • Blocks-Layouts

    Blocks and Layouts Initiative. See the #2811175 Add layouts to Drupal issue.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024