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

(Cache) Cleaning all caches raises a warning

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: High High
    • Resolution: Fixed
    • Affects Version/s: 5.1.0beta1
    • Component/s: Caching
    • Labels:
      None
    • Environment:

      Operating System: RHEL 6.4
      PHP Version: 5.3.3
      Database and version: Mysql 5.1.67
      Browser (and version): Firefox 19.0

      Description

      Hi,

      When i clean "all caches", through admin interface for instance, a warning is raised in debug output

      Missing argument 1 for eZ\Bundle\EzPublishLegacyBundle\Cache\PersistenceCachePurger::contentType() in /var/www/apache2php53/ezp50/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishLegacyBundle/Cache/PersistenceCachePurger.php on line 109
      

      Note: if i use the command "php bin/php/ezcache.php --clear-all --purge", no error is presented.

        Activity

        Hide
        Jérôme Vieilledent (Inactive) added a comment - - edited

        Please try to avoid clearing the cache with the legacy command now or all caches made in the Symfony stack won't be cleared.
        Use the following instead (from eZ Publish 5 root) :

        php ezpublish/console ezpublish:legacy:script bin/php/ezcache.php --clear-all
        

        Show
        Jérôme Vieilledent (Inactive) added a comment - - edited Please try to avoid clearing the cache with the legacy command now or all caches made in the Symfony stack won't be cleared. Use the following instead (from eZ Publish 5 root) : php ezpublish/console ezpublish:legacy:script bin/php/ezcache.php --clear-all
        Show
        Jérôme Vieilledent (Inactive) added a comment - Should be fixed now by https://github.com/ezsystems/ezpublish-kernel/commit/f65de979402695060e0ac8b053d10f022f26e487
        Hide
        Paulo Nunes (Inactive) added a comment -

        QA Approved

        Show
        Paulo Nunes (Inactive) added a comment - QA Approved

          People

          • Assignee:
            Unassigned
            Reporter:
            Paulo Nunes (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: