Compatibility with core 10.3.x and 11.x

Created on 4 April 2024, 5 months ago
Updated 23 May 2024, 4 months ago

The patch from #3047022 introduces a change in Drupal\layout_builder\EventSubscriber\SetInlineBlockDependency which breaks wse_lb.
The attached patch fixes two errors:
- the EventSubscriber has a new parameter '@current_route_match'
- determining the $layout_entity when adding a new block in LB when usage information is not yet available.

📌 Task
Status

Closed: outdated

Version

1.0

Component

Workspace Layout Builder

Created by

🇸🇮Slovenia paranojik

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

Comments & Activities

  • Issue created by @paranojik
  • 🇷🇴Romania amateescu

    WSE will need a big update to make it compatible with core 10.3, because all the of core patches that are included in the module have been committed. A lot of code will need to be removed in a commit that will make the module require 10.3.

  • First commit to issue fork.
  • Status changed to Closed: outdated 4 months ago
  • 🇷🇴Romania amateescu

    I've removed the custom implementation of SetInlineBlockDependency from wse_lb because it was assuming a specific workflow, where layouts are only edited in a workspace, and it wasn't really needed as well, setting the inline block dependency by revision ID works just fine in a workspace.

    This patch is no longer needed, so I'm closing this issue.

Production build 0.71.5 2024