- Issue created by @apmsooner
- Status changed to Fixed
about 2 years ago 5:52pm 3 March 2023 Automatically closed - issue fixed for 2 weeks with no activity.
Noticed the preview log entities are not getting overwritten so the same preview keeps showing.
Make changes to an entity and click preview and notice the update doesn't show up.
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());
Fixed
1.0
Code
Automatically closed - issue fixed for 2 weeks with no activity.