Preview not showing changes.

Created on 3 March 2023, about 2 years ago

Problem/Motivation

Noticed the preview log entities are not getting overwritten so the same preview keeps showing.

Steps to reproduce

Make changes to an entity and click preview and notice the update doesn't show up.

Proposed resolution

Change logic to pass the current user id into logEntity()

public function logEntity(NodeInterface $entity): void {
    $user_id = \Drupal::currentUser()->id();
    $this->deleteLoggedEntity($entity->uuid(), $user_id, $entity->language()->getId());

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States apmsooner

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

Comments & Activities

Production build 0.71.5 2024