Closed
Description
Symfony version(s) affected: 4.4.13 (introduced with 4.4.8)
Description
We have defined in the framework.yaml an own cache pool. We are also decorating that cache.pool. After this the
\Symfony\Component\Cache\DependencyInjection\CacheCollectorPass
is throwing an ServiceNotFoundException
. It seems so that the definition name changes while decorating.
How to reproduce
- Create a new cache pool in
framework.yaml
- Decorate it
- Container cannot be created anymore due missing definition
Possible Solution
Check in addToCollector
is it an alias or an actual definition
Additional context