Problem/Motivation

The Frontpage view is set to leverage tag-based cache invalidation. Problem is, the body field isn't being updated when a node that is part of this view is being updated. The title, taxonomy terms and other fields are correctly being invalidated though. It's a pretty big deal because it's the frontpage and defeats the purpose of cache tags invalidation.

Steps to reproduce:

  • Install latest Drupal 8
  • Generate some content
  • Visit the homepage and edit the first node that shows up
  • Change the node title and add a random string in the first paragraph
  • Save
  • Observe the node title and body field have successfully been updated at node/NID
  • Observe only the node title has been updated on the homepage

Proposed resolution

Changes to a body field for a node that is being displayed via the Frontpage view should show up immediately.

Remaining tasks

Fix the bug. Add tests to prevent the issue from occurring again

User interface changes

The Frontpage view is now showing up changes as expected.

API changes

None expected.

Data model changes

None expected.

Comments

anavarre created an issue. See original summary.

dawehner’s picture

This looks like the caching of the filter format isn't propagated up properly? Did you had a look at which cache tags are bubbling up?

anavarre’s picture

Status: Active » Closed (works as designed)

I...can no longer reproduce. User error caused by devel generate populating the summary field (which is different from the body field in that instance).