persistence
persistence copied to clipboard
Metadata caching isn't compatible with prefixed cache keys
The metadata cache generation, and cache saving didn't work if prefixed cache system is used.
The old functionality checked if the cache item's key is in $classNames array. But this array generated only with the getCacheKey function, and because of this the items of this array doesn't contain the global prefix of the cache keys.
With the fixed solution we're using only the prefixed keys, and cache item will be saved.