Preview of revision always shows latest published revision when using nested paragraphs

Created on 3 February 2020, about 5 years ago
Updated 15 July 2024, 9 months ago

Problem/Motivation

TL;DR When trying to view the content of a revision, the last published revision is shown.

Steps to reproduce:

  1. Create a new node of a content type that uses nested paragraphs and save as published
  2. Edit the content of the nested paragraph in this node and save as concept
  3. Click on the revisions tab in this node.
  4. Open the last created concept of this node and see that the content is that of the last published item

Linking #3025709: "Create new revision" option is ignored when updating EntityReferenceRevisionsItem because I came from this issue and bumped upon this bug. Since the solution there was to update the module, I am on the latest version.

🐛 Bug report
Status

Active

Version

1.7

Component

User interface

Created by

🇧🇪Belgium LRoels Ghent

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.

  • 🇨🇦Canada noah

    We're seeing this issue as well—when viewing a node revision, nested paragraphs always show the most recent revision rather than the one associated with the selected node revision. However, if a node is reverted to a previous revision the nested paragraph appears to also be reverted to the correct revision (i.e., not to the latest revision that incorrectly appeared when the revision was viewed).

    I've been trying to find a workaround for this, but so far without any luck—I can't figure out how to determine what revision of a nested paragraph is associated with a given node revision. There must be a way to do it, because reverting to a node revision finds and uses the right nested paragraph revision, but I've been unable to determine how that data is stored.

  • 🇺🇦Ukraine o_timoshchuk

    We encountered the same issue with the revision. It was resolved by changing the field format on the Manage Display page from 'Paragraph summary' to 'Rendered entity'.

Production build 0.71.5 2024