"previous revision" being loaded on block included by layout builder

Created on 22 March 2021, over 3 years ago
Updated 28 June 2024, 6 months ago

Problem/Motivation

I've been trying to use formatter on a block driven by paragraphs in layout builder.

It generally works fine AFTER save, but while in draft, new DRAFT entries from paragraphs don't get rendered and instead just display text as follows (not rendered in a template) ...

Carousel > Slide  (previous revision).

slick_paragraphs has the same issue.

For new modifications, of existing paragraphs, it doesn't reflect the changes that have been drafted whereas slick_paragraphs does.

After save, everything works as expected.

Steps to reproduce

Create a new paragraph with fields that will represent the slick carousel.
Create a new block type using the paragraph.
Create a new layout builder managed page with content overridden (using the inline block).

Proposed resolution

Render the draft content (not the previous revision)

Remaining tasks

Identify the point of failure.
Create code/tests to remedy the point of failure.

User interface changes

TBD - Probably none.

API changes

TBD - Probably none.

Data model changes

TBD - Probably none.

๐Ÿ› Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States matt_paz

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

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.71.5 2024