Compatibility with viewsreference

Created on 11 April 2025, 4 days ago

Problem/Motivation

Using the Views Reference Field module β†’ , it is possible to reference views through blocks inside of the layout builder. When a section with such a block is saved in the library and then applied, the block configuration is incomplete causing the page to break.

Steps to reproduce

  1. Install drupal/viewsreference
  2. Configure a content block with a views reference field
  3. Edit a node override layout and add the block inside of a section
  4. Save it in the library and re-apply it on another page

Proposed resolution

Implement a method in DeepCloningTrait to properly clone views reference entities.

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada franknoel

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

Comments & Activities

Production build 0.71.5 2024