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

ezrecommendation:export:run throws "Call to a member function getBody() on null" exception

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Development
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: eZ Recommendation
    • Labels:
      None

      Description

      ezrecommendation:export:run throws "Call to a member function getBody() on null" exception in https://github.com/ezsystems/ezrecommendation-client/blob/d46cecd6bfebb26e3953a1723bf2b8e76965cf8a/src/lib/Service/ExportService.php#L94 when execution will reach the following branch:

      https://github.com/ezsystems/ezrecommendation-client/blob/d46cecd6bfebb26e3953a1723bf2b8e76965cf8a/src/lib/Service/NotificationService.php#L57-L64

      Issue could be reproduced by using invalid credentials in export.

       

        Attachments

          Activity

            People

            Assignee:
            tomasz.kryszan@ez.no Tomasz Kryszan
            Reporter:
            adam.wojs@ez.no Adam Wójs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: