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

ezcache.php: Some cache items can cause a complete cache purge

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 4.2.0, 4.3.0, 4.4.0alpha5
    • Fix Version/s: 4.2.1, 4.4.0beta1
    • Component/s: Caching
    • Labels:
      None

      Description

      When bin/php/ezcache.php is run in --purge mode, if you specify certain cache items they will purge all cache, not just the specified cache. This applies to the cache items that are function based, and for which 'function' is defined but not 'purge-function'.

      Steps to reproduce
      • Check the contents of your cache directory
      • Run: php bin/php/ezcache.php --clear-id=classid --purge
      • Check the contents of your cache directory again. All files are gone (BUG), only directories remain.

      Expected: Only class identifier cache should have been cleared.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gl (inactive) Gunnstein Lye
              Reporter:
              gl (inactive) Gunnstein Lye
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: