Details
-
Bug
-
Resolution: Fixed
-
High
-
2.5.22
-
eZ Platform Enterprise, Ibexa Experience
Description
Steps to reproduce
- Use clean 2.5.22 Ez Platform installation
- Disable Token based authentication by setting:
# in /app/config/security.yml: remove the following lines simple_preauth authenticator: 'EzSystems\EzPlatformPageBuilder\Security\EditorialMode\TokenAuthenticator' # in /app/config/config.yml: change setting to page_builder.token_authenticator.enabled: false
- Clear cache using command line:
php bin/console cache:clear
Result:
Error message is thrown:
In DefinitionErrorExceptionPass.php line 37: Cannot autowire service "EzSystems\EzPlatformPageBuilder\Event\Subscriber\SetPreAuthCookieSubscriber": argument "$tokenManager" of method "__construct()" references class "EzSystems\EzPlatformPageBuilder\ Security\EditorialMode\TokenManager" but no such service exists. Try changing the type-hint to "Lexik\Bundle\JWTAuthenticationBundle\Services\JWTTokenManagerInterface" instead.
Expected:
System should work as before - just not using token based authentication.
Designs
Attachments
Issue Links
- relates to
-
IBX-375 Page Builder's preview not working after clicking on a link
- Closed