Operation links are overly-eager render cached

Created on 14 November 2024, 5 months ago

Problem/Motivation

If you look at the operation URLs at /admin/content, you'll see that URLs are whatever was cached when the operation links were first rendered. If you switch to another group, then the edit url, etc still has the previous values.

Steps to reproduce

  • Create 2 sites and their site prefixes of /site-1 and /site-2, respectively
  • Flush cache
  • Visit the /site-1/admin/content page
  • All operation URLs are generated with /site-1 prefix.
  • Switch to the /site-2/admin/content page
  • The Edit URLs still have the /site-1 prefix.

Proposed resolution

Take a page from workspaces and add a render cache required_cache_contexts for 'url.path'.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

heddn Nicaragua

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