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

ContentListBlock uses wrong data for parentName

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 1.7.4-rc1, 1.10.1-rc1
    • 1.7.0, 1.9.1
    • Studio UI
    • None

    Description

      ContentListBlock's getTemplateParameters() sets the $contentInfo variable at the beginning, and uses $contentInfo->name as parentName in the variables passed to the view.

      But in the foreach of the searchHits the $contentInfo variable is overridden, so the parentName variable's value won't be the name of the selected parent but the name of the last child from the foreach.

      Bundle's version is: ezsystems/landing-page-fieldtype-bundle v1.9.1

      Attachments

        Activity

          People

            Unassigned Unassigned
            27a86f72-3731-445b-a7d6-4e400f95824e@accounts.ibexa.co Gábor Balogh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: