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

Blocks loads content with wrong translation

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • Customer request
    • 16.02
    • None
    • None
    • ezsystems/platform-ui-bundle (v1.2.1)
      ezsystems/landing-page-fieldtype-bundle (v1.2.1)
      ezsystems/studio-ui-bundle (v1.2.2)

    Description

      When a block is set to get a specific number of items from a parent it also loads items without the correct translation. This means languages that is not defined for my siteaccess. This gets the system to crash. Not sure how this looks in prod mode as I have only tested it in dev.

      Steps to reproduce:
      1. Configure a siteaccess to use a single language (for example fre-FR).
      2. Create a landing page content, add with a "Content List" block and select a parent folder.
      3. Create a content on this folder using a language NOT defined in the siteaccess from step 1.
      4. view the page in the siteaccess from step 1.
      Result:

      Error message:

      An exception has been thrown during the rendering of a template ("Some mandatory parameters are missing ("language") to generate a URL for route "_ez_content_view".") in myBundle:blocks:contentgrid.html.twig at line 47.

      Attachments

        Activity

          People

            Unassigned Unassigned
            9d6da226-51aa-41ae-b7e9-56ec320d5ebe@accounts.ibexa.co Vangen Plotz
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: