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

eZ Publish admin panel crashes when user is trying to view a draft

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Critical Critical
    • 2014.07, 5.4-dev
    • None
    • eZ Publish 5.4.0alpha1

    Description

      Steps to reproduce the issue:

      1. Log into eZ Publish admin dashboard,
      2. Create a new draft,
      3. When you finish filling the form, click on Store draft and exit,
      4. Go to dashboard view,
      5. Click on a draft you've just created,
      6. The error occurs.
      "Stack trace"
      [1] Symfony\Component\HttpKernel\Exception\NotFoundHttpException: Could not find 'Content' with identifier 'array (
        'id' => 132,
        'languages' => 
        array (
          0 => 'eng-US',
        ),
        'versionNo' => 1,
      )'
          at n/a
              in /Users/piotrnalepa/Sites/ezpublish-community/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Symfony/Controller/Content/ViewController.php line 141
      
          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 /Users/piotrnalepa/Sites/ezpublish-community/vendor/ezsystems/demobundle/EzSystems/DemoBundle/Controller/DemoController.php line 94
      
          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 /Users/piotrnalepa/Sites/ezpublish-community/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 117
      
          at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), '2')
              in /Users/piotrnalepa/Sites/ezpublish-community/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 61
      
          at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '2', true)
              in /Users/piotrnalepa/Sites/ezpublish-community/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php line 62
      
          at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Request), '2')
              in /Users/piotrnalepa/Sites/ezpublish-community/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('132', '1', 'eng-GB', 'eng')
              in  line 
      
          at call_user_func_array(array(object(PreviewController), 'previewContentAction'), array('132', '1', 'eng-GB', 'eng'))
              in /Users/piotrnalepa/Sites/ezpublish-community/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 117
      
          at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), '1')
              in /Users/piotrnalepa/Sites/ezpublish-community/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 61
      
          at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '1', true)
              in /Users/piotrnalepa/Sites/ezpublish-community/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php line 62
      
          at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Request), '1', true)
              in /Users/piotrnalepa/Sites/ezpublish-community/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php line 187
      
          at Symfony\Component\HttpKernel\Kernel->handle(object(Request), '1', true)
              in /Users/piotrnalepa/Sites/ezpublish-community/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/Kernel.php line 67
      
          at eZ\Bundle\EzPublishCoreBundle\Kernel->handle(object(Request))
              in /Users/piotrnalepa/Sites/ezpublish-community/web/index.php line 77
      
      [2] eZ\Publish\Core\Base\Exceptions\NotFoundException: Could not find 'Content' with identifier 'array (
        'id' => 132,
        'languages' => 
        array (
          0 => 'eng-US',
        ),
        'versionNo' => 1,
      )'
          at n/a
              in /Users/piotrnalepa/Sites/ezpublish-community/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Repository/ContentService.php line 383
      
          at eZ\Publish\Core\Repository\ContentService->internalLoadContent('132', array('eng-US'), null)
              in /Users/piotrnalepa/Sites/ezpublish-community/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Repository/ContentService.php line 325
      
          at eZ\Publish\Core\Repository\ContentService->loadContent('132', array('eng-US'), null)
              in /Users/piotrnalepa/Sites/ezpublish-community/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Repository/ContentService.php line 287
      
          at eZ\Publish\Core\Repository\ContentService->loadContentByContentInfo(object(ContentInfo), array('eng-US'), null)
              in /Users/piotrnalepa/Sites/ezpublish-community/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/SignalSlot/ContentService.php line 157
      
          at eZ\Publish\Core\SignalSlot\ContentService->loadContentByContentInfo(object(ContentInfo), array('eng-US'))
              in /Users/piotrnalepa/Sites/ezpublish-community/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Symfony/View/Manager.php line 276
      
          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 /Users/piotrnalepa/Sites/ezpublish-community/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Symfony/Controller/Content/ViewController.php line 407
      
          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 /Users/piotrnalepa/Sites/ezpublish-community/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Symfony/Controller/Content/ViewController.php line 130
      
          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 /Users/piotrnalepa/Sites/ezpublish-community/vendor/ezsystems/demobundle/EzSystems/DemoBundle/Controller/DemoController.php line 94
      
          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 /Users/piotrnalepa/Sites/ezpublish-community/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 117
      
          at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), '2')
              in /Users/piotrnalepa/Sites/ezpublish-community/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 61
      
          at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '2', true)
              in /Users/piotrnalepa/Sites/ezpublish-community/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php line 62
      
          at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Request), '2')
              in /Users/piotrnalepa/Sites/ezpublish-community/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('132', '1', 'eng-GB', 'eng')
              in  line 
      
          at call_user_func_array(array(object(PreviewController), 'previewContentAction'), array('132', '1', 'eng-GB', 'eng'))
              in /Users/piotrnalepa/Sites/ezpublish-community/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 117
      
          at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), '1')
              in /Users/piotrnalepa/Sites/ezpublish-community/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 61
      
          at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '1', true)
              in /Users/piotrnalepa/Sites/ezpublish-community/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php line 62
      
          at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Request), '1', true)
              in /Users/piotrnalepa/Sites/ezpublish-community/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php line 187
      
          at Symfony\Component\HttpKernel\Kernel->handle(object(Request), '1', true)
              in /Users/piotrnalepa/Sites/ezpublish-community/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/Kernel.php line 67
      
          at eZ\Bundle\EzPublishCoreBundle\Kernel->handle(object(Request))
              in /Users/piotrnalepa/Sites/ezpublish-community/web/index.php line 77
      
      [3] eZ\Publish\Core\Base\Exceptions\NotFoundException: Could not find 'content' with identifier 'contentId: 132, versionNo: 1'
          at n/a
              in /Users/piotrnalepa/Sites/ezpublish-community/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Legacy/Content/Handler.php line 324
      
          at eZ\Publish\Core\Persistence\Legacy\Content\Handler->load('132', '1', array('eng-US'))
              in /Users/piotrnalepa/Sites/ezpublish-community/ezpublish/cache/dev/ezpublishDevDebugProjectContainer.php line 31220
      
          at eZPublishCorePersistenceLegacyContentHandler_000000002b657d780000000049ff4df7->load('132', '1', array('eng-US'))
              in /Users/piotrnalepa/Sites/ezpublish-community/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Cache/ContentHandler.php line 69
      
          at eZ\Publish\Core\Persistence\Cache\ContentHandler->load('132', '1', array('eng-US'))
              in /Users/piotrnalepa/Sites/ezpublish-community/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Repository/ContentService.php line 379
      
          at eZ\Publish\Core\Repository\ContentService->internalLoadContent('132', array('eng-US'), null)
              in /Users/piotrnalepa/Sites/ezpublish-community/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Repository/ContentService.php line 325
      
          at eZ\Publish\Core\Repository\ContentService->loadContent('132', array('eng-US'), null)
              in /Users/piotrnalepa/Sites/ezpublish-community/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Repository/ContentService.php line 287
      
          at eZ\Publish\Core\Repository\ContentService->loadContentByContentInfo(object(ContentInfo), array('eng-US'), null)
              in /Users/piotrnalepa/Sites/ezpublish-community/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/SignalSlot/ContentService.php line 157
      
          at eZ\Publish\Core\SignalSlot\ContentService->loadContentByContentInfo(object(ContentInfo), array('eng-US'))
              in /Users/piotrnalepa/Sites/ezpublish-community/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Symfony/View/Manager.php line 276
      
          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 /Users/piotrnalepa/Sites/ezpublish-community/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Symfony/Controller/Content/ViewController.php line 407
      
          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 /Users/piotrnalepa/Sites/ezpublish-community/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Symfony/Controller/Content/ViewController.php line 130
      
          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 /Users/piotrnalepa/Sites/ezpublish-community/vendor/ezsystems/demobundle/EzSystems/DemoBundle/Controller/DemoController.php line 94
      
          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 /Users/piotrnalepa/Sites/ezpublish-community/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 117
      
          at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), '2')
              in /Users/piotrnalepa/Sites/ezpublish-community/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 61
      
          at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '2', true)
              in /Users/piotrnalepa/Sites/ezpublish-community/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php line 62
      
          at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Request), '2')
              in /Users/piotrnalepa/Sites/ezpublish-community/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('132', '1', 'eng-GB', 'eng')
              in  line 
      
          at call_user_func_array(array(object(PreviewController), 'previewContentAction'), array('132', '1', 'eng-GB', 'eng'))
              in /Users/piotrnalepa/Sites/ezpublish-community/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 117
      
          at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), '1')
              in /Users/piotrnalepa/Sites/ezpublish-community/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 61
      
          at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '1', true)
              in /Users/piotrnalepa/Sites/ezpublish-community/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php line 62
      
          at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Request), '1', true)
              in /Users/piotrnalepa/Sites/ezpublish-community/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php line 187
      
          at Symfony\Component\HttpKernel\Kernel->handle(object(Request), '1', true)
              in /Users/piotrnalepa/Sites/ezpublish-community/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/Kernel.php line 67
      
          at eZ\Bundle\EzPublishCoreBundle\Kernel->handle(object(Request))
              in /Users/piotrnalepa/Sites/ezpublish-community/web/index.php line 77
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            piotr.nalepa-obsolete@ez.no Piotr Nalepa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: