Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: High High
    • Resolution: Fixed
    • Affects Version/s: 5.4-dev
    • Fix Version/s: QA tracked issues, 5.4-dev
    • Component/s: DemoBundle
    • Labels:
    • Environment:

      Operating System: Debian 7
      PHP Version: PHP 5.4.4-14+deb7u8
      Database and version: Mysql 5.5.35
      Browser (and version): Firefox 31

      Description

      Hi,
      Having xdebug enabled and display_errors= on, wheni install an eZ Demo without content package, i have the following notice when i access the eZ Demo frontpage:

      ( ! ) Notice: Undefined offset: 2 in /var/www/ezpublish5/vendor/ezsystems/demobundle/EzSystems/DemoBundle/Controller/MenuController.php on line 25
      Call Stack
      #	Time	Memory	Function	Location
      1	0.0001	229824	{main}( )	../index.php:0
      2	0.0053	1012056	eZ\Bundle\EzPublishCoreBundle\HttpCache->handle( )	../index.php:77
      3	0.0054	1014360	Symfony\Component\HttpKernel\HttpCache\HttpCache->handle( )	../HttpCache.php:36
      4	0.0061	1027376	Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup( )	../HttpCache.php:193
      5	0.0075	1041536	Symfony\Component\HttpKernel\HttpCache\HttpCache->validate( )	../HttpCache.php:335
      6	0.0076	1048992	Symfony\Bundle\FrameworkBundle\HttpCache\HttpCache->forward( )	../HttpCache.php:376
      7	0.0780	14918880	Symfony\Component\HttpKernel\HttpCache\HttpCache->forward( )	../HttpCache.php:60
      8	0.0781	14920680	eZ\Bundle\EzPublishCoreBundle\Kernel->handle( )	../HttpCache.php:466
      9	0.0781	14920936	Symfony\Component\HttpKernel\Kernel->handle( )	../Kernel.php:67
      10	0.0828	15098120	Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle( )	../bootstrap.php.cache:2255
      11	0.0830	15103072	Symfony\Component\HttpKernel\HttpKernel->handle( )	../bootstrap.php.cache:2975
      12	0.0830	15103136	Symfony\Component\HttpKernel\HttpKernel->handleRaw( )	../bootstrap.php.cache:2846
      13	0.1532	19412936	call_user_func_array ( )	../bootstrap.php.cache:2872
      14	0.1532	19413552	eZ\Publish\Core\MVC\Symfony\Controller\Content\ViewController->viewLocation( )	../bootstrap.php.cache:2872
      15	0.1552	19421632	eZ\Publish\Core\MVC\Symfony\Controller\Content\ViewController->renderLocation( )	../ViewController.php:130
      16	0.1552	19422048	eZ\Publish\Core\MVC\Symfony\View\Manager->renderLocation( )	../ViewController.php:407
      17	0.1631	19503408	eZ\Publish\Core\MVC\Symfony\View\Manager->renderContentView( )	../Manager.php:278
      18	0.1633	19510136	Symfony\Component\Templating\DelegatingEngine->render( )	../Manager.php:335
      19	0.1634	19512712	Symfony\Bundle\TwigBundle\TwigEngine->render( )	../DelegatingEngine.php:50
      20	0.1634	19512872	Symfony\Bridge\Twig\TwigEngine->render( )	../TwigEngine.php:83
      21	0.1655	19655432	Twig_Template->render( )	../TwigEngine.php:53
      22	0.1655	19672136	Twig_Template->display( )	../classes.php:4555
      23	0.1657	19679928	Twig_Template->displayWithErrorHandling( )	../classes.php:4548
      24	0.1657	19680120	__TwigTemplate_e8b0d06e07b2efd4ea9dd85eac131a843f91085626c8ec82495651fe7377c4eb->doDisplay( )	../classes.php:4567
      25	0.1657	19680504	Twig_Template->display( )	../d06e07b2efd4ea9dd85eac131a843f91085626c8ec82495651fe7377c4eb.php:24
      26	0.1657	19681600	Twig_Template->displayWithErrorHandling( )	../classes.php:4548
      27	0.1657	19681792	__TwigTemplate_0a1e633781bafb0251690e749f458a2803c327a3bfa4843087f9cbddb6db3392->doDisplay( )	../classes.php:4567
      28	0.2245	22968400	Twig_Template->displayBlock( )	../633781bafb0251690e749f458a2803c327a3bfa4843087f9cbddb6db3392.php:93
      29	0.2245	22968528	__TwigTemplate_0a1e633781bafb0251690e749f458a2803c327a3bfa4843087f9cbddb6db3392->block_topMenu( )	../classes.php:4512
      30	0.2245	22969360	Symfony\Bridge\Twig\Extension\HttpKernelExtension->renderFragment( )	../633781bafb0251690e749f458a2803c327a3bfa4843087f9cbddb6db3392.php:176
      31	0.2245	22969544	Symfony\Component\HttpKernel\Fragment\FragmentHandler->render( )	../HttpKernelExtension.php:60
      32	0.2245	22969896	eZ\Bundle\EzPublishCoreBundle\Fragment\InlineFragmentRenderer->render( )	../FragmentHandler.php:100
      33	0.2246	22970872	Symfony\Component\HttpKernel\Fragment\InlineFragmentRenderer->render( )	../InlineFragmentRenderer.php:62
      34	0.2249	22985576	Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle( )	../InlineFragmentRenderer.php:84
      35	0.2256	22986624	Symfony\Component\HttpKernel\HttpKernel->handle( )	../bootstrap.php.cache:2975
      36	0.2256	22986624	Symfony\Component\HttpKernel\HttpKernel->handleRaw( )	../bootstrap.php.cache:2846
      37	0.2281	23041560	call_user_func_array ( )	../bootstrap.php.cache:2872
      38	0.2281	23041896	EzSystems\DemoBundle\Controller\MenuController->topMenuAction( )	../bootstrap.php.cache:2872
      

      STEPS TO REPRODUCE:
      • Enable xdebug
      • display_erros=on on your php.ini
      • Run setup wizard, choosing eZ Demo without demo content package
      • Access the frontpage

        Activity

        Show
        Pedro Resende (Inactive) added a comment - PR https://github.com/ezsystems/DemoBundle/pull/104
        Show
        André Rømcke added a comment - Merged in https://github.com/ezsystems/DemoBundle/commit/9784ad38c485c6488d5bd3c76d78efe24888b74c
        Hide
        Paulo Nunes (Inactive) added a comment -

        QA Approved

        Show
        Paulo Nunes (Inactive) added a comment - QA Approved

          People

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

            Dates

            • Created:
              Updated:
              Resolved: