Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-1716

Cannot render embedded ezimage in CollectionBlock Gallery View

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 1.11.0
    • 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

      Attachments

        Activity

          People

            Unassigned Unassigned
            marek.nocon@ibexa.co Marek NocoĊ„
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: