Details
-
Bug
-
Resolution: Fixed
-
Critical
-
1.11.0-rc1
-
None
-
None
-
Symfony Env: DEV with Debug enabled
Description
It's not possible to publish a Collection block with Gallery view when the app is running in dev mode.
Steps to reproduce:
0. Switch Symfony env to dev
1. Create a new LP
2. Add a Collection block
3. Choose "Gallery" view
4, Add an image: Media -> Images -> Places -> Oslo -> Akershus Festing 1
5. Submit Collection Block
6. Publish Landing Page
Expected:
Landing Page is published
Actual:
Application freezes with spinner visible indefinitely. The following is visible in log:
[2017-08-22 16:15:11] request.CRITICAL: Uncaught PHP Exception Twig_Error_Runtime: "Variable "objectParameters" does not exist." at /Users/mnocon/Desktop/studio_demo/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/Resources/views/default/content/embed_image.html.twig line 7 {"exception":"[object] (Twig_Error_Runtime(code: 0): Variable \"objectParameters\" does not exist. at /Users/mnocon/Desktop/studio_demo/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/Resources/views/default/content/embed_image.html.twig:7)"} []
Additional info:
- Issue occurs also in Prod env with Debug enabled.
- Issue occurs also for Embed block
- Occurs both on Clean and Demo installation