From bc6f3eb18eb7fbf10031e8719fe883c5ccf32b88 Mon Sep 17 00:00:00 2001 From: Kamil Madejski Date: Thu, 9 Aug 2018 13:14:06 +0200 Subject: [PATCH] EZEE-2256: [LegacyBridge][eZ Recommendation][WebProfiler] Null is passed to PreBuildKernelWebHandlerEvent instead of valid Request object (#113) * EZEE-2256: [LegacyBridge][eZ Recommendation][WebProfiler] Null is passed to PreBuildKernelWebHandlerEvent instead of valid Request object * Added note about moving service definitions to application config * fixup! EZEE-2256: [LegacyBridge][eZ Recommendation][WebProfiler] Null is passed to PreBuildKernelWebHandlerEvent instead of valid Request object --- Resources/config/services.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Resources/config/services.yml b/Resources/config/services.yml index c189ae9..71a8868 100644 --- a/Resources/config/services.yml +++ b/Resources/config/services.yml @@ -37,7 +37,8 @@ services: arguments: - { base_url: "%ez_recommendation.api_endpoint%" } - # The configured eZ Publish Platform legacy search engine - enable lines below only if you're using legacy bridge. + # The configured eZ Platform legacy search engine. + # Copy lines below to your app/config/services.yml file and uncomment them only when using Legacy Bridge. # ez_recommendation.legacy.search_engine: # class: ezpSearchEngine @@ -46,6 +47,7 @@ services: # # ez_recommendation.legacy.recommendation_search_engine: # class: EzSystems\RecommendationBundle\eZ\Publish\LegacySearch\RecommendationLegacySearchEngine +# lazy: true # arguments: # - "@ez_recommendation.client.yoochoose_notifier" # - "@ez_recommendation.legacy.search_engine"