include 'views_invalidate_cache()' call (to clear views data).

Created on 8 November 2022, about 2 years ago
Updated 10 July 2023, over 1 year ago

Problem/Motivation

drupal_flush_all_caches() does not seem to also include views_invalidate_cache(). I have a View Block of Related content titles (a normal list block) that seems to hold on to previous data state while pushing code thru qa/uat envs.

Steps to reproduce

Proposed resolution

include subroutine to:
a. check if views is enabled.
b, if so, include views_invalidate_cache() callback.

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

🇨🇦Canada SKAUGHT

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024