The Block Filter doesn't include the drupal blocks cache metadata, which creates issues when using Views Blocks, where the rendered output is only refreshed when Page cache is cleared/refreshed.

CommentFileSizeAuthor
#2 missing-cache-metadata-3137872-1.patch1.96 KBroborn

Comments

roborn created an issue. See original summary.

roborn’s picture

Status: Active » Needs review
StatusFileSize
new1.96 KB

This patch add the Cacheability Metadata from Drupal Blocks on BlockFilter::process
Not really sure about the need of using the build() method, but ViewsBlock get methods for cache were returning empty, so I had to build the render array to get the cache metadata.

marcofernandes’s picture

Status: Needs review » Fixed

  • marcofernandes committed 3200e5d on 8.x-1.x authored by roborn
    Issue #3137872 by roborn: Drupal Blocks cache metadata is missing
    
    (...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.