Slick Display Format Causing Issues with Content Moderation

Created on 3 May 2022, over 2 years ago
Updated 16 May 2023, over 1 year ago

Problem/Motivation

When using the 'Slick Entity Reference Vanilla' display format in conjunction with the the 'Content Moderation' functionality there appears to be a display issue when updating any entity referenced within the one that has the slick display format and saving the node as a draft of which had already been set to 'Published'. Regardless of the update made to any field or entity within the one that has its display set to 'Slick Entity Reference Vanilla', after editing and saving the node as a draft and then subsequently viewing the node, the latest updates are not present. Any content updates made within that entity reference(not all content) will only display the last published content revision as opposed to the current 'draft' revision.

Steps to reproduce

  1. Ensure that a workflow has been created and that there is atleast a Draft and Published state.
  2. Ensure that you have a content type that has an entity reference field with its display set to 'Slick Entity Reference Vanilla'. Example: A basic page content type that has an entity reference field, referencing a custom "Carousel" Paragraph which in itself has an entity reference field(with the slick display format) referencing a "Slide" paragraph that has a title and image field.
  3. Create a node of the type mentioned above, populated with some test content and save in the 'Published' state.
  4. Edit the published node and make changes to any of the content fields(image or text) pertaining to the "Slide" paragraph type and save the node in the "Draft" state.
  5. After saving and viewing the node - you will see that the content edits you just made are not reflecting however if you go back to edit the node you will see that the content edits you made were saved and are present while editing the node.

Proposed resolution

Ensure that any content edits that are made to an entity whose parent entity's display is set to 'Slick Entity Reference Vanilla' and is then subsequently saved in the draft state, are then displayed accordingly when viewing the display of the updated node.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: won't fix

Version

2.6

Component

Code

Created by

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