Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.2.5, 2.5.17, 3.3.1
-
eZ Platform Enterprise
Description
fos:js-routing:debug command throws type error exception.
Steps:
- Install e.g. eZ Platform EE v2.5.17.
- Execute command php bin/console fos:js-routing:debug
Actual result: Exception occurs
In ExposedRoutesExtractor.php line 25: Type error: Argument 2 passed to eZ\Bundle\EzPublishCoreBundle\Routing\JsRouting\ExposedRoutesExtractor::__construct() must be an instance of Symfony\Component\HttpFoundation\Request, null given, called in /Users/michalszoltysek/Projects/workspace/ez2.lh/var/cache/ dev/ContainerXxz5vxs/getEzpublish_JsRouting_ExtractorService.php on line 8
Expected result: Command works without errors.
Remarks: Affects fos:js-routing:dump also.
Note:
In v3.2 and 3.3 there is an error:
In ExposedRoutesExtractor.php line 49:
Notice: Trying to get property 'attributes' of non-object
Designs
Attachments
Issue Links
- discovered while testing
-
EZEE-3489 Some Commands are using invalid Doctrine connection
- Closed