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

eZ Recommendation causes failing logouts if user has old drafts

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: High High
    • None
    • None
    • eZ Recommendation

    Description

      Partner report:

      In line 56 of this file vendor/ezsystems/recommendation-bundle/ez/publish/legacysearch/RecommendationLegacySearchEngine.php you can see that is does $this->recommendationClient->deleteContent($contentObjectId);

      This is done by eZ when logging in connection with eZContentObject::cleanupAllInternalDrafts( $userID );
      Now, the problem is that in that deleteContent() function it the again tries to fetch the object, which of-course is not published and therefor throws an error.

      So this problem is only a problem for the users who have old drafts that should be deleted by the eZContentObject::cleanupAllInternalDrafts( $userID );

      Attachments

        Activity

          People

            Unassigned Unassigned
            jani.tarvainen@ibexa.co Jani Tarvainen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: