Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-2256

[LegacyBridge][eZ Recommendation][WebProfiler] Null is passed to PreBuildKernelWebHandlerEvent instead of valid Request object

    XMLWordPrintable

    Details

      Description

      Steps to reproduce

      1. Install eZ Platform v2 with LegacyBridge
      2. Enable eZ Recommendation (remember to do it in LegacyBridge as well)
      3. Open any page in dev mode

      Note
      Symfony's WebProfiler needs to be configured like:

      web_profiler:
          toolbar: true
          intercept_redirects: true
      

      Result:
      You will see the following exception:

      Type error: Argument 2 passed to eZ\Publish\Core\MVC\Legacy\Event\PreBuildKernelWebHandlerEvent::__construct() must be an instance of Symfony\Component\HttpFoundation\Request, null given, called in /var/www/ezplatform-ee/vendor/ezsystems/legacy-bridge/mvc/Kernel/Loader.php on line 179
      

      For the whole stack trace please refer to the attachment.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            kamil.madejski@ez.no Kamil Madejski
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: