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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 4.2.1, 4.4.0beta1
    • 4.2.0, 4.3.0, 4.4.0alpha5
    • Caching
    • 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

        Activity

          People

            gl gl
            gl gl
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: