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

View cache not cleared properly if the node count is above the threshold

    Details

      Description

      When clearing view cache, eZContentCacheManager.php expires all legacy cache if the node count is above the defined threshold value (site.ini[ContentSettings]\CacheThreshold), but still sends the full node list (i.e. 'content/cache', $nodeList) to Symfony Stack, instead of using 'content/cache/all'.

        Issue Links

          Activity

          Show
          Jérôme Vieilledent (Inactive) added a comment - Fixed in master: https://github.com/ezsystems/ezpublish-legacy/commit/21ee392
          Hide
          Eduardo Fernandes (Inactive) added a comment -

          QA Approved

          Show
          Eduardo Fernandes (Inactive) added a comment - QA Approved
          Hide
          Nuno Oliveira (Inactive) added a comment -

          The fix was successfully applied to eZContentCacheManager::clearObjectViewCacheArray, but there is an identical section of code where the fix should
          be applied as well, in eZContentCacheManager::clearObjectViewCache.

          In order to test this, please follow the steps used in the related test case but instead of using a folder containing articles, use a gallery containing related images.

          Show
          Nuno Oliveira (Inactive) added a comment - The fix was successfully applied to eZContentCacheManager::clearObjectViewCacheArray, but there is an identical section of code where the fix should be applied as well, in eZContentCacheManager::clearObjectViewCache. In order to test this, please follow the steps used in the related test case but instead of using a folder containing articles, use a gallery containing related images.
          Show
          Yannick Roger (Inactive) added a comment - Fixed in master: https://github.com/ezsystems/ezpublish-legacy/commit/9f800c4e28d62141a8c4abf73825a4a8c1c73ad2
          Hide
          Joao Pingo (Inactive) added a comment -

          QA Approved

          Show
          Joao Pingo (Inactive) added a comment - QA Approved

            People

            • Assignee:
              Unassigned
              Reporter:
              Nuno Oliveira (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 3 hours, 10 minutes
                1d 3h 10m