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

Exception when previewing an object in eZ Demo

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: High High
    • Resolution: Fixed
    • Affects Version/s: 5.3-dev
    • Labels:
      None
    • Environment:

      Operating System: Debian7
      PHP Version: 5.4.4
      Database and version: MySQL 5.5
      Browser (and version): Firefox 28

      Description

      Hi,

      When i try to preview an object in ez Demo admin interface, i get an exception

      Steps to reproduce:
      – Login into ezdemo_site_admin siteaccess
      – Create an article (fill in only the title and summary)
      – Click the preview

      An exception has been thrown during the rendering of a template ("When generating an UrlAlias route, either 'location' or 'locationId must be provided.") in eZDemoBundle::page_head.html.twig at line 21.
      

      The stack trace is:

      [1] Twig_Error_Runtime: An exception has been thrown during the rendering of a template ("When generating an UrlAlias route, either 'location' or 'locationId must be provided.") in "eZDemoBundle::page_head.html.twig" at line 21.
          at n/a
              in /var/www/ezpublish5/vendor/twig/twig/lib/Twig/Template.php line 293
       
          at Twig_Template->displayWithErrorHandling(array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true, 'noLayout' => false, 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'ezpublish' => object(GlobalHelper), 'app' => object(GlobalVariables)), array())
              in /var/www/ezpublish5/vendor/twig/twig/lib/Twig/Template.php line 252
       
          at Twig_Template->display(array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true, 'noLayout' => false, 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'ezpublish' => object(GlobalHelper), 'app' => object(GlobalVariables)), array())
              in /var/www/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishDebugBundle/Twig/DebugTemplate.php line 30
       
          at eZ\Bundle\EzPublishDebugBundle\Twig\DebugTemplate->display(array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true, 'noLayout' => false, 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'ezpublish' => object(GlobalHelper), 'app' => object(GlobalVariables)))
              in /var/www/ezpublish5/ezpublish/cache/dev/twig/0a/1e/633781bafb0251690e749f458a2803c327a3bfa4843087f9cbddb6db3392.php line 49
       
          at __TwigTemplate_0a1e633781bafb0251690e749f458a2803c327a3bfa4843087f9cbddb6db3392->doDisplay(array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true, 'noLayout' => false, 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'ezpublish' => object(GlobalHelper), 'app' => object(GlobalVariables)), array('content' => array(object(__TwigTemplate_9ab25d5a1aa87f0e19a6d790d0c00aee13a9daf6a1650c55bdae10aa6e3147c5), 'block_content')))
              in /var/www/ezpublish5/vendor/twig/twig/lib/Twig/Template.php line 278
       
          at Twig_Template->displayWithErrorHandling(array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true, 'noLayout' => false, 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'ezpublish' => object(GlobalHelper), 'app' => object(GlobalVariables)), array('content' => array(object(__TwigTemplate_9ab25d5a1aa87f0e19a6d790d0c00aee13a9daf6a1650c55bdae10aa6e3147c5), 'block_content')))
              in /var/www/ezpublish5/vendor/twig/twig/lib/Twig/Template.php line 252
       
          at Twig_Template->display(array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true, 'noLayout' => false, 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'ezpublish' => object(GlobalHelper), 'app' => object(GlobalVariables)), array('content' => array(object(__TwigTemplate_9ab25d5a1aa87f0e19a6d790d0c00aee13a9daf6a1650c55bdae10aa6e3147c5), 'block_content')))
              in /var/www/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishDebugBundle/Twig/DebugTemplate.php line 30
       
          at eZ\Bundle\EzPublishDebugBundle\Twig\DebugTemplate->display(array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true, 'noLayout' => false, 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'ezpublish' => object(GlobalHelper), 'app' => object(GlobalVariables)), array('content' => array(object(__TwigTemplate_9ab25d5a1aa87f0e19a6d790d0c00aee13a9daf6a1650c55bdae10aa6e3147c5), 'block_content')))
              in /var/www/ezpublish5/ezpublish/cache/dev/twig/9a/b2/5d5a1aa87f0e19a6d790d0c00aee13a9daf6a1650c55bdae10aa6e3147c5.php line 24
       
          at __TwigTemplate_9ab25d5a1aa87f0e19a6d790d0c00aee13a9daf6a1650c55bdae10aa6e3147c5->doDisplay(array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true, 'noLayout' => false, 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'ezpublish' => object(GlobalHelper), 'app' => object(GlobalVariables)), array())
              in /var/www/ezpublish5/vendor/twig/twig/lib/Twig/Template.php line 278
       
          at Twig_Template->displayWithErrorHandling(array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true, 'noLayout' => false, 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'ezpublish' => object(GlobalHelper), 'app' => object(GlobalVariables)), array())
              in /var/www/ezpublish5/vendor/twig/twig/lib/Twig/Template.php line 252
       
          at Twig_Template->display(array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true, 'noLayout' => false, 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig'), array())
              in /var/www/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishDebugBundle/Twig/DebugTemplate.php line 30
       
          at eZ\Bundle\EzPublishDebugBundle\Twig\DebugTemplate->display(array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true, 'noLayout' => false, 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig'))
              in /var/www/ezpublish5/vendor/twig/twig/lib/Twig/Template.php line 263
       
          at Twig_Template->render(array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true, 'noLayout' => false, 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig'))
              in /var/www/ezpublish5/vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php line 53
       
          at Symfony\Bridge\Twig\TwigEngine->render('eZDemoBundle:full:article.html.twig', array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true, 'noLayout' => false, 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig'))
              in /var/www/ezpublish5/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php line 83
       
          at Symfony\Bundle\TwigBundle\TwigEngine->render('eZDemoBundle:full:article.html.twig', array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true, 'noLayout' => false, 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig'))
              in /var/www/ezpublish5/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Debug/TimedTwigEngine.php line 52
       
          at Symfony\Bundle\TwigBundle\Debug\TimedTwigEngine->render('eZDemoBundle:full:article.html.twig', array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true, 'noLayout' => false, 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig'))
              in /var/www/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/Templating/DelegatingEngine.php line 50
       
          at Symfony\Component\Templating\DelegatingEngine->render('eZDemoBundle:full:article.html.twig', array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true, 'noLayout' => false, 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig'))
              in /var/www/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Symfony/View/Manager.php line 335
       
          at eZ\Publish\Core\MVC\Symfony\View\Manager->renderContentView(object(ContentView), array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true, 'noLayout' => false))
              in /var/www/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Symfony/View/Manager.php line 278
       
          at eZ\Publish\Core\MVC\Symfony\View\Manager->renderLocation(object(Location), 'full', array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true, 'noLayout' => false))
              in /var/www/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Symfony/Controller/Content/ViewController.php line 405
       
          at eZ\Publish\Core\MVC\Symfony\Controller\Content\ViewController->renderLocation(object(Location), 'full', true, array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true))
              in /var/www/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Symfony/Controller/Content/ViewController.php line 129
       
          at eZ\Publish\Core\MVC\Symfony\Controller\Content\ViewController->viewLocation(null, 'full', true, array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true))
              in /var/www/ezpublish5/vendor/ezsystems/demobundle/EzSystems/DemoBundle/Controller/DemoController.php line 104
       
          at EzSystems\DemoBundle\Controller\DemoController->showArticleAction(null, 'full', true, array('content' => object(Content), 'location' => object(Location), 'isPreview' => true))
              in  line 
       
          at call_user_func_array(array(object(DemoController), 'showArticleAction'), array(null, 'full', true, array('content' => object(Content), 'location' => object(Location), 'isPreview' => true)))
              in /var/www/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 117
       
          at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), '2')
              in /var/www/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 61
       
          at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '2', true)
              in /var/www/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php line 62
       
          at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Request), '2')
              in /var/www/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Symfony/Controller/Content/PreviewController.php line 92
       
          at eZ\Publish\Core\MVC\Symfony\Controller\Content\PreviewController->previewContentAction('60', '1', 'eng-GB', 'ezdemo_site')
              in  line 
       
          at call_user_func_array(array(object(PreviewController), 'previewContentAction'), array('60', '1', 'eng-GB', 'ezdemo_site'))
              in /var/www/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 117
       
          at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), '1')
              in /var/www/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 61
       
          at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '1', true)
              in /var/www/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php line 62
       
          at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Request), '1', true)
              in /var/www/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php line 187
       
          at Symfony\Component\HttpKernel\Kernel->handle(object(Request), '1', true)
              in /var/www/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/Kernel.php line 67
       
          at eZ\Bundle\EzPublishCoreBundle\Kernel->handle(object(Request))
              in /var/www/ezpublish5/web/index.php line 77
       
      [2] InvalidArgumentException: When generating an UrlAlias route, either 'location' or 'locationId must be provided.
          at n/a
              in /var/www/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Symfony/Routing/UrlAliasRouter.php line 216
       
          at eZ\Publish\Core\MVC\Symfony\Routing\UrlAliasRouter->generate('ez_urlalias', array('locationId' => null), false)
              in /var/www/ezpublish5/vendor/symfony-cmf/routing/Symfony/Cmf/Component/Routing/ChainRouter.php line 229
       
          at Symfony\Cmf\Component\Routing\ChainRouter->generate('ez_urlalias', array('locationId' => null), false)
              in /var/www/ezpublish5/vendor/symfony/symfony/src/Symfony/Bridge/Twig/Extension/RoutingExtension.php line 45
       
          at Symfony\Bridge\Twig\Extension\RoutingExtension->getPath('ez_urlalias', array('locationId' => null))
              in /var/www/ezpublish5/ezpublish/cache/dev/twig/19/09/a2194e1c41e6599bc5cf4e42f79ff88d7d8bde900dc342a60f4a49d920c4.php line 47
       
          at __TwigTemplate_1909a2194e1c41e6599bc5cf4e42f79ff88d7d8bde900dc342a60f4a49d920c4->doDisplay(array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true, 'noLayout' => false, 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'ezpublish' => object(GlobalHelper), 'app' => object(GlobalVariables)), array())
              in /var/www/ezpublish5/vendor/twig/twig/lib/Twig/Template.php line 278
       
          at Twig_Template->displayWithErrorHandling(array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true, 'noLayout' => false, 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'ezpublish' => object(GlobalHelper), 'app' => object(GlobalVariables)), array())
              in /var/www/ezpublish5/vendor/twig/twig/lib/Twig/Template.php line 252
       
          at Twig_Template->display(array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true, 'noLayout' => false, 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'ezpublish' => object(GlobalHelper), 'app' => object(GlobalVariables)), array())
              in /var/www/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishDebugBundle/Twig/DebugTemplate.php line 30
       
          at eZ\Bundle\EzPublishDebugBundle\Twig\DebugTemplate->display(array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true, 'noLayout' => false, 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'ezpublish' => object(GlobalHelper), 'app' => object(GlobalVariables)))
              in /var/www/ezpublish5/ezpublish/cache/dev/twig/0a/1e/633781bafb0251690e749f458a2803c327a3bfa4843087f9cbddb6db3392.php line 49
       
          at __TwigTemplate_0a1e633781bafb0251690e749f458a2803c327a3bfa4843087f9cbddb6db3392->doDisplay(array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true, 'noLayout' => false, 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'ezpublish' => object(GlobalHelper), 'app' => object(GlobalVariables)), array('content' => array(object(__TwigTemplate_9ab25d5a1aa87f0e19a6d790d0c00aee13a9daf6a1650c55bdae10aa6e3147c5), 'block_content')))
              in /var/www/ezpublish5/vendor/twig/twig/lib/Twig/Template.php line 278
       
          at Twig_Template->displayWithErrorHandling(array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true, 'noLayout' => false, 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'ezpublish' => object(GlobalHelper), 'app' => object(GlobalVariables)), array('content' => array(object(__TwigTemplate_9ab25d5a1aa87f0e19a6d790d0c00aee13a9daf6a1650c55bdae10aa6e3147c5), 'block_content')))
              in /var/www/ezpublish5/vendor/twig/twig/lib/Twig/Template.php line 252
       
          at Twig_Template->display(array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true, 'noLayout' => false, 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'ezpublish' => object(GlobalHelper), 'app' => object(GlobalVariables)), array('content' => array(object(__TwigTemplate_9ab25d5a1aa87f0e19a6d790d0c00aee13a9daf6a1650c55bdae10aa6e3147c5), 'block_content')))
              in /var/www/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishDebugBundle/Twig/DebugTemplate.php line 30
       
          at eZ\Bundle\EzPublishDebugBundle\Twig\DebugTemplate->display(array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true, 'noLayout' => false, 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'ezpublish' => object(GlobalHelper), 'app' => object(GlobalVariables)), array('content' => array(object(__TwigTemplate_9ab25d5a1aa87f0e19a6d790d0c00aee13a9daf6a1650c55bdae10aa6e3147c5), 'block_content')))
              in /var/www/ezpublish5/ezpublish/cache/dev/twig/9a/b2/5d5a1aa87f0e19a6d790d0c00aee13a9daf6a1650c55bdae10aa6e3147c5.php line 24
       
          at __TwigTemplate_9ab25d5a1aa87f0e19a6d790d0c00aee13a9daf6a1650c55bdae10aa6e3147c5->doDisplay(array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true, 'noLayout' => false, 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'ezpublish' => object(GlobalHelper), 'app' => object(GlobalVariables)), array())
              in /var/www/ezpublish5/vendor/twig/twig/lib/Twig/Template.php line 278
       
          at Twig_Template->displayWithErrorHandling(array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true, 'noLayout' => false, 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'ezpublish' => object(GlobalHelper), 'app' => object(GlobalVariables)), array())
              in /var/www/ezpublish5/vendor/twig/twig/lib/Twig/Template.php line 252
       
          at Twig_Template->display(array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true, 'noLayout' => false, 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig'), array())
              in /var/www/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishDebugBundle/Twig/DebugTemplate.php line 30
       
          at eZ\Bundle\EzPublishDebugBundle\Twig\DebugTemplate->display(array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true, 'noLayout' => false, 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig'))
              in /var/www/ezpublish5/vendor/twig/twig/lib/Twig/Template.php line 263
       
          at Twig_Template->render(array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true, 'noLayout' => false, 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig'))
              in /var/www/ezpublish5/vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php line 53
       
          at Symfony\Bridge\Twig\TwigEngine->render('eZDemoBundle:full:article.html.twig', array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true, 'noLayout' => false, 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig'))
              in /var/www/ezpublish5/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php line 83
       
          at Symfony\Bundle\TwigBundle\TwigEngine->render('eZDemoBundle:full:article.html.twig', array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true, 'noLayout' => false, 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig'))
              in /var/www/ezpublish5/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Debug/TimedTwigEngine.php line 52
       
          at Symfony\Bundle\TwigBundle\Debug\TimedTwigEngine->render('eZDemoBundle:full:article.html.twig', array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true, 'noLayout' => false, 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig'))
              in /var/www/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/Templating/DelegatingEngine.php line 50
       
          at Symfony\Component\Templating\DelegatingEngine->render('eZDemoBundle:full:article.html.twig', array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true, 'noLayout' => false, 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig'))
              in /var/www/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Symfony/View/Manager.php line 335
       
          at eZ\Publish\Core\MVC\Symfony\View\Manager->renderContentView(object(ContentView), array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true, 'noLayout' => false))
              in /var/www/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Symfony/View/Manager.php line 278
       
          at eZ\Publish\Core\MVC\Symfony\View\Manager->renderLocation(object(Location), 'full', array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true, 'noLayout' => false))
              in /var/www/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Symfony/Controller/Content/ViewController.php line 405
       
          at eZ\Publish\Core\MVC\Symfony\Controller\Content\ViewController->renderLocation(object(Location), 'full', true, array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true))
              in /var/www/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Symfony/Controller/Content/ViewController.php line 129
       
          at eZ\Publish\Core\MVC\Symfony\Controller\Content\ViewController->viewLocation(null, 'full', true, array('showSummary' => true, 'showImage' => true, 'content' => object(Content), 'location' => object(Location), 'isPreview' => true))
              in /var/www/ezpublish5/vendor/ezsystems/demobundle/EzSystems/DemoBundle/Controller/DemoController.php line 104
       
          at EzSystems\DemoBundle\Controller\DemoController->showArticleAction(null, 'full', true, array('content' => object(Content), 'location' => object(Location), 'isPreview' => true))
              in  line 
       
          at call_user_func_array(array(object(DemoController), 'showArticleAction'), array(null, 'full', true, array('content' => object(Content), 'location' => object(Location), 'isPreview' => true)))
              in /var/www/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 117
       
          at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), '2')
              in /var/www/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 61
       
          at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '2', true)
              in /var/www/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php line 62
       
          at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Request), '2')
              in /var/www/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Symfony/Controller/Content/PreviewController.php line 92
       
          at eZ\Publish\Core\MVC\Symfony\Controller\Content\PreviewController->previewContentAction('60', '1', 'eng-GB', 'ezdemo_site')
              in  line 
       
          at call_user_func_array(array(object(PreviewController), 'previewContentAction'), array('60', '1', 'eng-GB', 'ezdemo_site'))
              in /var/www/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 117
       
          at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), '1')
              in /var/www/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 61
       
          at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '1', true)
              in /var/www/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php line 62
       
          at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Request), '1', true)
              in /var/www/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php line 187
       
          at Symfony\Component\HttpKernel\Kernel->handle(object(Request), '1', true)
              in /var/www/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/Kernel.php line 67
       
          at eZ\Bundle\EzPublishCoreBundle\Kernel->handle(object(Request))
              in /var/www/ezpublish5/web/index.php line 77
      
      

      Note: this issue is different than EZP-22669

        Activity

        Hide
        Marcos Loureiro (Inactive) added a comment -

        QA Approved

        Show
        Marcos Loureiro (Inactive) added a comment - QA Approved
        Show
        Bertrand Dunogier added a comment - Should have been fixed by https://github.com/ezsystems/DemoBundle/commit/807811111e6438485af6cac46db226db7e1d7b52 ( https://github.com/ezsystems/DemoBundle/pull/72 )

          People

          • Assignee:
            Unassigned
            Reporter:
            Paulo Nunes (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 30 minutes
              30m