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

Wrong content loading logic in ContentViewBuilder

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 1.7.3, 1.9.1, 1.10.0
    • 1.3.1, 1.8.1, 1.9.0-rc
    • Platform > MVC
    • ubuntu 14.04 MySQL 5.5, php 5.5
      ubuntu 16.04, MariaDB 10, php 5.6

    Description

      In eZ\Publish\Core\MVC\Symfony\View\Builder\ContentViewBuilder, this line seems wrong:

      $content = $view->isEmbed() ? $this->loadContent($contentId) : $this->loadEmbeddedContent($contentId, $location);
      

      If the view is embed, loadEmbedContent() should be called. The opposite is done here.

      Attachments

        Activity

          People

            Unassigned Unassigned
            radek.dev radek.dev
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: