Details
-
Bug
-
Resolution: Fixed
-
High
-
2.5.9
-
None
Description
In some cases using 3rd party Translator may result in an exception being thrown:
[Symfony\Component\DependencyInjection\Exception\RuntimeException] Cannot autowire service "EzSystems\EzPlatformAdminUi\UI\Config\Mapper\FieldType\RichText\CustomTag": argument "$translator" of method "__construct()" references class "Symfony\Component\Translation\Translator" but no such service exists. Try changing the type-hint to "Symfony\Component\Translation\TranslatorInterface" instead.
Steps to reproduce
1. Clean installation of eZ Platform 2.5.9
2. InstallĀ and enable LexikTranslationBundle
3. Run: php bin/console c:c.
Result
An error like one above.
Expected result
No exception is thrown.