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

Error on fetching Legacy Bridge - Missing Interface

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • QA tracked issues
    • 2015.11
    • None
    • None
    • PHP 5.4.39-0+deb7u2
      mysql Ver 14.14 Distrib 5.5.41

    Description

      When fetching Legacy bridge with:

      php composer.phar require --update-no-dev ezsystems/legacy-bridge
      

      after running the referred steps at:

      https://doc.ez.no/display/EZP/Installing+eZ+Publish+Legacy+on+top+of+eZ+Platform
      

      and the changes suggested at (function at EzPublishKernel.php):

      https://jira.ez.no/browse/EZP-24109
      

      it results in the error:

      PHP Fatal error:  Interface 'eZ\Publish\Core\MVC\Symfony\View\ContentViewInterface' not found in /var/www/html/ezpublish5/vendor/ezsystems/legacy-bridge/mvc/View/TwigContentViewLayoutDecorator.php on line 19
      PHP Stack trace:
      PHP   1. {main}() /var/www/html/ezpublish5/ezpublish/console:0
      PHP   2. Symfony\Component\Console\Application->run() /var/www/html/ezpublish5/ezpublish/console:26
      PHP   3. Symfony\Bundle\FrameworkBundle\Console\Application->doRun() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:126
      PHP   4. Symfony\Component\Console\Application->doRun() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:96
      PHP   5. Symfony\Component\Console\Application->doRunCommand() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:195
      PHP   6. Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:882
      PHP   7. Symfony\Component\EventDispatcher\EventDispatcher->dispatch() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php:124
      PHP   8. Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:48
      PHP   9. call_user_func() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:160
      PHP  10. Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:160
      PHP  11. call_user_func() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php:61
      PHP  12. eZ\Bundle\EzPublishCoreBundle\EventListener\ConsoleCommandListener->onConsoleCommand() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php:61
      PHP  13. Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch() /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/EventListener/ConsoleCommandListener.php:76
      PHP  14. Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->preProcess() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php:119
      PHP  15. Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher->getListeners() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php:227
      PHP  16. Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher->lazyLoad() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php:128
      PHP  17. Symfony\Component\DependencyInjection\Container->get() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php:173
      PHP  18. ezpublishDevDebugProjectContainer->getEzpublish_ConfigScopeListenerService() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php:327
      PHP  19. Symfony\Component\DependencyInjection\Container->get() /var/www/html/ezpublish5/ezpublish/cache/dev/ezpublishDevDebugProjectContainer.php:3507
      PHP  20. ezpublishDevDebugProjectContainer->getEzpublish_ViewManagerService() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php:327
      PHP  21. Symfony\Component\DependencyInjection\Container->get() /var/www/html/ezpublish5/ezpublish/cache/dev/ezpublishDevDebugProjectContainer.php:12268
      PHP  22. ezpublishDevDebugProjectContainer->getEzpublish_View_ConfiguratorService() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php:327
      PHP  23. Symfony\Component\DependencyInjection\Container->get() /var/www/html/ezpublish5/ezpublish/cache/dev/ezpublishDevDebugProjectContainer.php:12078
      PHP  24. ezpublishDevDebugProjectContainer->getEzpublish_ViewProvider_RegistryService() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php:327
      PHP  25. Symfony\Component\DependencyInjection\Container->get() /var/www/html/ezpublish5/ezpublish/cache/dev/ezpublishDevDebugProjectContainer.php:12283
      PHP  26. ezpublishDevDebugProjectContainer->getEzpublishLegacy_ContentViewProviderService() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php:327
      PHP  27. Symfony\Component\DependencyInjection\Container->get() /var/www/html/ezpublish5/ezpublish/cache/dev/ezpublishDevDebugProjectContainer.php:12418
      PHP  28. ezpublishDevDebugProjectContainer->getEzpublishLegacy_ViewDecorator_TwigService() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php:327
      PHP  29. Symfony\Component\Debug\DebugClassLoader->loadClass() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php:0
      PHP  30. require() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/Debug/DebugClassLoader.php:154
      [2015-10-16 17:40:45] php.CRITICAL: Fatal Error: Interface 'eZ\Publish\Core\MVC\Symfony\View\ContentViewInterface' not found {"type":1,"file":"/var/www/html/ezpublish5/vendor/ezsystems/legacy-bridge/mvc/View/TwigContentViewLayoutDecorator.php","line":19,"level":-1,"stack":[{"file":"/var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/Debug/DebugClassLoader.php","line":154,"include_filename":"/var/www/html/ezpublish5/vendor/ezsystems/legacy-bridge/mvc/View/TwigContentViewLayoutDecorator.php","args":[]},{"function":"loadClass","type":"->","class":"Symfony\\Component\\Debug\\DebugClassLoader","file":"/var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php","line":0,"args":[]},{"function":"getEzpublishLegacy_ViewDecorator_TwigService","type":"->","class":"ezpublishDevDebugProjectContainer","file":"/var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php","line":327,"args":[]},{"function":"get","type":"->","class":"Symfony\\Component\\DependencyInjection\\Container","file":"/var/www/html/ezpublish5/ezpublish/cache/dev/ezpublishDevDebugProjectContainer.php","line":12418,"args":[]},{"function":"getEzpublishLegacy_ContentViewProviderService","type":"->","class":"ezpublishDevDebugProjectContainer","file":"/var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php","line":327,"args":[]},{"function":"get","type":"->","class":"Symfony\\Component\\DependencyInjection\\Container","file":"/var/www/html/ezpublish5/ezpublish/cache/dev/ezpublishDevDebugProjectContainer.php","line":12283,"args":[]},{"function":"getEzpublish_ViewProvider_RegistryService","type":"->","class":"ezpublishDevDebugProjectContainer","file":"/var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php","line":327,"args":[]},{"function":"get","type":"->","class":"Symfony\\Component\\DependencyInjection\\Container","file":"/var/www/html/ezpublish5/ezpublish/cache/dev/ezpublishDevDebugProjectContainer.php","line":12078,"args":[]},{"function":"getEzpublish_View_ConfiguratorService","type":"->","class":"ezpublishDevDebugProjectContainer","file":"/var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php","line":327,"args":[]},{"function":"get","type":"->","class":"Symfony\\Component\\DependencyInjection\\Container","file":"/var/www/html/ezpublish5/ezpublish/cache/dev/ezpublishDevDebugProjectContainer.php","line":12268,"args":[]},{"function":"getEzpublish_ViewManagerService","type":"->","class":"ezpublishDevDebugProjectContainer","file":"/var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php","line":327,"args":[]},{"function":"get","type":"->","class":"Symfony\\Component\\DependencyInjection\\Container","file":"/var/www/html/ezpublish5/ezpublish/cache/dev/ezpublishDevDebugProjectContainer.php","line":3507,"args":[]},{"function":"getEzpublish_ConfigScopeListenerService","type":"->","class":"ezpublishDevDebugProjectContainer","file":"/var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php","line":327,"args":[]},{"function":"get","type":"->","class":"Symfony\\Component\\DependencyInjection\\Container","file":"/var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php","line":173,"args":[]},{"function":"lazyLoad","type":"->","class":"Symfony\\Component\\EventDispatcher\\ContainerAwareEventDispatcher","file":"/var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php","line":128,"args":[]},{"function":"getListeners","type":"->","class":"Symfony\\Component\\EventDispatcher\\ContainerAwareEventDispatcher","file":"/var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php","line":227,"args":[]},{"function":"preProcess","type":"->","class":"Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcher","file":"/var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php","line":119,"args":[]},{"function":"dispatch","type":"->","class":"Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcher","file":"/var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/EventListener/ConsoleCommandListener.php","line":76,"args":[]},{"function":"onConsoleCommand","type":"->","class":"eZ\\Bundle\\EzPublishCoreBundle\\EventListener\\ConsoleCommandListener","file":"/var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php","line":61,"args":[]},{"function":"call_user_func","file":"/var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php","line":61,"args":[]},{"function":"__invoke","type":"->","class":"Symfony\\Component\\EventDispatcher\\Debug\\WrappedListener","file":"/var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php","line":160,"args":[]},{"function":"call_user_func","file":"/var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php","line":160,"args":[]},{"function":"doDispatch","type":"->","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","file":"/var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php","line":48,"args":[]},{"function":"dispatch","type":"->","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","file":"/var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php","line":124,"args":[]},{"function":"dispatch","type":"->","class":"Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcher","file":"/var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php","line":882,"args":[]},{"function":"doRunCommand","type":"->","class":"Symfony\\Component\\Console\\Application","file":"/var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php","line":195,"args":[]},{"function":"doRun","type":"->","class":"Symfony\\Component\\Console\\Application","file":"/var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php","line":96,"args":[]},{"function":"doRun","type":"->","class":"Symfony\\Bundle\\FrameworkBundle\\Console\\Application","file":"/var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php","line":126,"args":[]},{"function":"run","type":"->","class":"Symfony\\Component\\Console\\Application","file":"/var/www/html/ezpublish5/ezpublish/console","line":26,"args":[]},{"function":"{main}","file":"/var/www/html/ezpublish5/ezpublish/console","line":0,"args":[]}]}
      
      
      
        [Symfony\Component\Debug\Exception\ClassNotFoundException]
        Attempted to load interface "ContentViewInterface" from namespace "eZ\Publish\Core\MVC\Symfony\View".
        Did you forget a "use" statement for another namespace?
      
      
      
      cache:clear [--no-warmup] [--no-optional-warmers]
      
      
      Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the post-update-cmd event terminated with an exception
      
      
      
        [RuntimeException]
        An error occurred when executing the "'cache:clear --no-warmup'" command.
      
      
      
      require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-update] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [packages1] ... [packagesN]
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            rui.silva-obsolete@ez.no Rui Silva (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: