You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CacheManager::getBrowserPath returns a path or url for a previously cached asset. However, the parameter for the URL generator is not within scope of the caching mechanism, possibly returning unexpected results.
Preconditions
LiipImagineBundle 2.x
Steps to reproduce
Create a template that exposes an asset through multiple variations of the UrlGeneratorInterface types (e.g. absolute url, absolute path)
The
CacheManager::getBrowserPath
returns a path or url for a previously cached asset. However, the parameter for the URL generator is not within scope of the caching mechanism, possibly returning unexpected results.Preconditions
LiipImagineBundle 2.x
Steps to reproduce
Create a template that exposes an asset through multiple variations of the
UrlGeneratorInterface
types (e.g. absolute url, absolute path)Expected result
I expect the template to render as follows:
Actual result
This is happening because CacheManager::getBrowserPath returns ResolverInterface::resolve(), which does not have the referenceType as a parameter.
The text was updated successfully, but these errors were encountered: