[PP-1] MembershipManager using wrong static cache

Created on 3 February 2025, 2 months ago

Problem/Motivation

MembershipManager service is injecting the cache.static service which is supposed to be used only for testing purposes. From cache.static cache backend (MemoryBackend):

Should be used for unit tests and specialist use-cases only (...)

See also https://www.drupal.org/project/drupal/issues/2973286 📌 [PP-1] Clean up MemoryCache and MemoryBackend naming issues Postponed

Steps to reproduce

N/A

Proposed resolution

Replace usage of cache.static with \Drupal\Core\Cache\MemoryCache\MemoryCache as soon as 📌 [PP-1] Clean up MemoryCache and MemoryBackend naming issues Postponed is in.

Remaining tasks

None.

User interface changes

None

API changes

None

Data model changes

None

🐛 Bug report
Status

Postponed

Version

1.0

Component

og.module

Created by

🇷🇴Romania claudiu.cristea Arad 🇷🇴

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

Comments & Activities

Production build 0.71.5 2024