Problem/Motivation

With sites that we've upgraded to Drupal 11.2, the responsive preview is no longer showing current edits or content from new nodes that have not yet been saved.

Editing nodes that have been previously saved only shows a preview of the last saved content, not new edits are that currently happening.

Previewing a new node as it being created shows the home page in the preview instead of the node.

Sites that are still on 11.1, preview works as expected. We've tested on 6 sites (4 11.2+, 2 11.1.7) and the behavior was consistent (broken or not). All sites are using version 2.2 of responsive preview.

Regular Drupal core preview works and shows current edits of both new nodes and existing nodes.

Steps to reproduce

  1. Start with a site on version 11.2+. We've seen the bug in 11.2.2 and 11.2.4. We have not upgraded any sites to 11.3 yet, so we have not tested there.
  2. Make sure the responsive preview version is 2.2.
  3. Create a new node and use responsive preview before saving the new node. You should be seeing your newly created content, but with this bug, the home page will be previewed instead. Responsive preview device type does not matter.
  4. Edit an existing node and add a change to any field (tested title, plain text, body and paragraph fields) and use responsive preview. The last saved content of the node will be displayed. The new content you entered will not be.

Comments

ec-adam created an issue.