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

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              da_real Ramzi Arfaoui
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: