Cache: none should not be set on views.

Created on 20 May 2025, 2 months ago

In a previous issue, it was discussed how it is a problem that when a peice of content is locked, the views arent displaying the "locked by.." text.

This was because the correct caches werent being invalidated.

The conclusion in the issue was to set cache: none, but I feel like this is a mistake.

Instead, in the issue, there was a commit that actually used correct cache invalidation, but for some reason, it was glossed over (?)

https://git.drupalcode.org/project/content_lock/-/merge_requests/15/diff...

https://git.drupalcode.org/project/content_lock/-/merge_requests/15/diff...

I feel like this is the correct solution, so I will attach a MR, where this ^ is included, and the "set cache: none" is removed.

🐛 Bug report
Status

Needs review

Version

3.0

Component

Code

Created by

🇩🇰Denmark ras-ben Copenhagen

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024