First entity view does not save recently read for anonymous users

Created on 6 September 2023, about 1 year ago
Updated 7 September 2023, about 1 year ago

Problem/Motivation

When trying to figure out why the tests are always failing I came across an interesting bug, that is not tested. When an anonymous user first visits a page and looks at some content that is supposed to be saved to recently read, it's not. Only when the user refreshes the page it occurs.

When fixing this the tests should also be fixed but for them to be correctly fixed this should first be merged 📌 Drupal 10 Fix deprecations in tests Needs review

Steps to reproduce

  1. Install module.
  2. Add the block somewhere visible
  3. Create an article.
  4. Open private/incognito window
  5. Navigate to the website
  6. Navigate to the content
  7. At this point you can go back to the home page and you'll have an empty block
🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024