ReorderChildrenAccess results in uncacheable pages

Created on 15 June 2022, over 2 years ago
Updated 3 September 2024, 4 months ago

Problem/Motivation

It seems that AccessResult returned by ReorderChildrenAccess is making the block non cachable as max-age is set to 0
This is breaking dynamic cache.
I think it would be good to add have catchable meta

Steps to reproduce

Visit any node page which has local task block enabled.
For authenticated users dynamic-drupal-cache always becomes UNCACHEABLE

Proposed resolution

Add cachability metadata

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

3.0

Component

Code (module)

Created by

🇮🇳India mohit_aghera Rajkot

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

Merge Requests

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