Preview parent node when editing (saved) referenced entity

Created on 26 January 2024, about 1 year ago

Problem/Motivation

When I preview a parent node after having edited and saved a referenced entity the edits are not displayed.

Steps to reproduce

- edit the parent node
- edit the referenced entity child node from the parent node page
- update the referenced entity child node
- preview the parent node
- changes are NOT displayed

Expected behaviour

- changes to the referenced entity child node should be displayed

Workaround

- save the parent node
- changes are displayed

🐛 Bug report
Status

Active

Version

10.2

Component
Node system 

Last updated about 3 hours ago

No maintainer
Created by

🇮🇹Italy mrcelli

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

Comments & Activities

  • Issue created by @mrcelli
  • Is there any custom code or contributed modules running on the site with this bug?

  • 🇮🇹Italy mrcelli

    @cilefen there are custom modules but nothing related to the issue.
    This bug started happening after upgrading from Drupal 9 to Drupal 10.
    The custom modules/code are the same, thus irrelevant imho.

  • Status changed to Postponed: needs info 28 days ago
  • 🇦🇺Australia acbramley

    I followed the steps in the IS and could not reproduce the issue

    When you save the Child entity, that's already resulting in an updated view on the parent, even without previewing. I think this would most likely be a caching issue in custom code but will set to PMNMI to see if we can get steps to reproduce from a fresh Drupal install.

Production build 0.71.5 2024