Details
-
Bug
-
Resolution: Fixed
-
Medium
-
1.3.1, 1.8.1, 1.9.0-rc
-
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.