ConfigEntityStorage::resetCache() does not clear the config factory's caches

Created on 21 October 2016, almost 8 years ago
Updated 3 May 2024, 4 months ago

Problem/Motivation

ConfigEntityStorage::resetCache() does not clear the config factory's caches. This means that when changing an entity, it's removed from the entity API cache, but not from the configuration system's cache, causing stale data to be returned by ConfigEntityStorage::loadUnchanged() after all.

Proposed resolution

Make ConfigEntityStorage::resetCache() call ConfigFactoryInterface::reset().

Remaining tasks

None.

User interface changes

None.

API changes

None.

Data model changes

πŸ› Bug report
Status

Postponed: needs info

Version

11.0 πŸ”₯

Component
EntityΒ  β†’

Last updated about 12 hours ago

Created by

πŸ‡¬πŸ‡§United Kingdom Xano Southampton

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¦πŸ‡ΊAustralia pameeela

    Marking this as postponed because Berdir asked for more info in #9 and the scenario was not explained.

    The test only patch provided later passed, and the patch with fix failed. So I'm not sure it's established that this is a bug.

  • πŸ‡ΊπŸ‡ΈUnited States Amber Himes Matz Portland, OR USA

    Adding tag, because it would be helpful to know how to verify this issue.

Production build 0.71.5 2024