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

[eZRecommendation] On-the-fly error when yoochoose not reachable

    XMLWordPrintable

Details

    Description

      when server can't reach yoochoose servers the features that use on-the-fly loading will break other functionalities that are aggregated
      (ex: adding a recommendation block to ezflow when not reacheable, then the block add/remove feature won't be loaded at all)

      Steps:
      For these tests: Make sure your server can't resolve yoochoose servers
      
      (test 1)
      1 - edit ezflow page
      2 - add a recommendation block
      3 - verify that the blocks aren't loaded
      
      (test 2)
      1 - create an article
      2 - in ezoe open "insert custom tag"
      3 - verify twig error in the small window
      

      error:

      [2013-08-08 16:37:21] request.CRITICAL: Uncaught PHP Exception HttpInvalidParamException: "Empty or too short HTTP message: ''" at /var/www/html/recommendation52/ezpublish_legacy/extension/ezrecommendation/classes/ezrecommendationserverapi.php line 0 {"exception":"[object] (HttpInvalidParamException: Empty or too short HTTP message: '' at /var/www/html/recommendation52/ezpublish_legacy/extension/ezrecommendation/classes/ezrecommendationserverapi.php:0, HttpRequestException: Couldn't resolve host name; name lookup timed out (https://admin.yoochoose.net/restfrontend/ebl/v3/859/structure/get_scenario_list) at /var/www/html/recommendation52/ezpublish_legacy/extension/ezrecommendation/classes/ezrecommendationserverapi.php:191)"} []
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            marcos.loureiro-obsolete@ez.no Marcos Loureiro (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: