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

PlatformUIBundle ExceptionController problem

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 5.4.8, 1.4.2, 1.5.1
    • Fix Version/s: 1.6.0, 1.5.2
    • Labels:
      None
    • Environment:

      Ubuntu 14.04
      PHP 5.6.23
      platform-ui-bundle v1.4.0
      Symfony >= 2.8

      Description

      I had an error during an ajax request, and while ezplatform was trying to handle error in EzSystems\PlatformUIBundle\Controller\ExceptionController at L18, code returns @Twig/Exception/exception_full.html.twig string value in $template variable.

      Now as you can see on L25, code is trying to clone the value in $template variable, which is failing with following error because its a string and not an object.

          FatalErrorException in ExceptionController.php line 25:
          Error: __clone method called on non-object
      

      Is this a problem in my application side or this is problem in ExceptionController?

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              tahir.mushtaq Tahir Mushtaq
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: