Disabling CookieRedirector throws Exception
GALPR opened this issue · comments
Q | A |
---|---|
Bug report? | yes |
Feature request? | no |
BC Break report? | no |
RFC? | no |
An exception is thrown when disabling the CookieRedirector service via the following config:
i18n:
registry:
redirector:
cookie:
enabled: false
"cookie" redirector identifier does not exist
The line that causes this issue is
I think this statement could simply be wrapped in if ($this->redirectorRegistry->has('cookie'))
.
This is a regression of #147
fixed in 5.0.1