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

Fatal error when previewing on ezplatform-demo with "clean" data

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Medium Medium
    • QA tracked issues
    • 1.5.1, 1.6.0-rc1
    • Platform > Demo (new)
    • Operating System: Debian 8
      PHP Version: 5.6.14-0+deb8u1
      Database and version: Mysql 5.5.46-0+deb8u1
      Browser (and version): Firefox 49
      Env: Prod

    Description

      Previewing an object in ezplatform-demo raises a fatal error.

      Steps to Reproduce
      • Install ezplatform-demo
      • Create one folder - don't publish
      • preview the folder

      here we have the fatal error.

      • This error does not happens if we use the ezsystems/ezplatform repository to make the installation.
      • Only when we use the ezsystems/ezplatform-demo with "clean" data. With "demo" data does not happen.

      The error in app/log/prod.log is

      [2016-10-21 13:18:41] app.DEBUG: Router eZ\Bundle\EzPublishCoreBundle\Routing\DefaultRouter was unable to generate route. Reason: 'Route 'ez_urlalias' not found': Unable to generate a URL for the named route "ez_urlalias" as such route does not exist. [] []
      [2016-10-21 13:18:41] request.CRITICAL: Uncaught PHP Exception Twig_Error_Runtime: "An exception has been thrown during the rendering of a template ("Could not find 'location' with identifier '60'") in "pagelayout_footer.html.twig" at line 19." at /var/www/html/ezp60/ezplatform/app/cache/prod/classes.php line 5442 {"exception":"[object] (Twig_Error_Runtime(code: 0): An exception has been thrown during the rendering of a template (\"Could not find 'location' with identifier '60'\") in \"pagelayout_footer.html.twig\" at line 19. at /var/www/html/ezp60/ezplatform/app/cache/prod/classes.php:5442, eZ\\Publish\\Core\\Base\\Exceptions\\NotFoundException(code: 404): Could not find 'location' with identifier '60' at /var/www/html/ezp60/ezplatform/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Legacy/Content/Location/Gateway/DoctrineDatabase.php:86)"} []
      
      

      Doing the same operation in

      Attachments

        Activity

          People

            Unassigned Unassigned
            paulo.nunes-obsolete@ez.no Paulo Nunes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: