Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-26018

Error when rendering relation(list) field as embed

    XMLWordPrintable

Details

    Description

      If content type conatins a Content Relations(Multiple) Field and after adding images as related objects to the content item . The content Preview output following error:

      Variable "objectParameters" does not exist in EzPublishCoreBundle:default:content/embed_image.html.twig at line 7

      Error demo at:
      http://www.screencast.com/t/8XWANrc63

      Error not happen when adding image to Content Relation (simple)

      suggestion in embed_image.html instead of :
      { parameters:

      { alias: objectParameters.size }

      }
      { parameters:

      { alias: 'medium'}

      }
      this will resolve the issue and output a simple image view.

      Attachments

        Activity

          People

            Unassigned Unassigned
            0aaceb1b-a090-4e10-828b-43959cfe7efe@accounts.ibexa.co Ramzi Arfaoui
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: