XMLWordPrintable

    Details

      Description

      Environment

      • eZ Publish Platform 5.4.5
      • Symfony 2.7.10
      • Legacy admin interface

      Steps to reproduce:

      • Edit a content
      • Click on preview

      Error:

      You have requested a non-existent service "ezpublish_legacy.kernel". Did you mean one of these: "ezpublish_legacy.router", "ezpublish_legacy.kernel.lazy_loader", "ezpublish_legacy.kernel_handler.web", "ezpublish_legacy.kernel.lazy"?

      Stack Trace:

      [1] Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "ezpublish_legacy.kernel". Did you mean one of these: "ezpublish_legacy.router", "ezpublish_legacy.kernel.lazy_loader", "ezpublish_legacy.kernel_handler.web", "ezpublish_legacy.kernel.lazy"?
          at n/a
              in /var/www/sf.ez5.no/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php line 300
      
          at Symfony\Component\DependencyInjection\Container->get('ezpublish_legacy.kernel')
              in /var/www/sf.ez5.no/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Legacy/Kernel/Loader.php line 316
      
          at eZ\Publish\Core\MVC\Legacy\Kernel\Loader->resetKernel()
              in /var/www/sf.ez5.no/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishLegacyBundle/EventListener/ConfigScopeListener.php line 38
      
          at eZ\Bundle\EzPublishLegacyBundle\EventListener\ConfigScopeListener->onConfigScopeChange(object(ScopeChangeEvent), 'ezpublish.config.scope_restore', object(TraceableEventDispatcher))
              in  line 
      
          at call_user_func(array(object(ConfigScopeListener), 'onConfigScopeChange'), object(ScopeChangeEvent), 'ezpublish.config.scope_restore', object(TraceableEventDispatcher))
              in /var/www/sf.ez5.no/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php line 61
      
          at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(ScopeChangeEvent), 'ezpublish.config.scope_restore', object(ContainerAwareEventDispatcher))
              in  line 
      
          at call_user_func(object(WrappedListener), object(ScopeChangeEvent), 'ezpublish.config.scope_restore', object(ContainerAwareEventDispatcher))
              in /var/www/sf.ez5.no/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php line 158
      
          at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'ezpublish.config.scope_restore', object(ScopeChangeEvent))
              in /var/www/sf.ez5.no/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php line 46
      
          at Symfony\Component\EventDispatcher\EventDispatcher->dispatch('ezpublish.config.scope_restore', object(ScopeChangeEvent))
              in /var/www/sf.ez5.no/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php line 124
      
          at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch('ezpublish.config.scope_restore', object(ScopeChangeEvent))
              in /var/www/sf.ez5.no/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Helper/ContentPreviewHelper.php line 96
      
          at eZ\Publish\Core\Helper\ContentPreviewHelper->restoreConfigScope()
              in /var/www/sf.ez5.no/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Symfony/Controller/Content/PreviewController.php line 116
      
          at eZ\Publish\Core\MVC\Symfony\Controller\Content\PreviewController->previewContentAction('30335', '17', 'eng-GB', 'eng')
              in  line 
      
          at call_user_func_array(array(object(PreviewController), 'previewContentAction'), array('30335', '17', 'eng-GB', 'eng'))
              in /var/www/sf.ez5.no/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 139
      
          at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), '1')
              in /var/www/sf.ez5.no/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 62
      
          at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '1', true)
              in /var/www/sf.ez5.no/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php line 69
      
          at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Request), '1', true)
              in /var/www/sf.ez5.no/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php line 184
      
          at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
              in /var/www/sf.ez5.no/web/index.php line 77
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              sylvain.guittard@ez.no Sylvain Guittard
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: