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

ezwtServerCallFunctions::updatePriority() calls wrong cache expiring method

    XMLWordPrintable

    Details

      Description

      `ezwtServerCallFunctions::updatePriority()` calls `eZContentCacheManager::clearContentCache()` directly on `ezpublish_legacy/extension/ezwt/classes/ezwtservercallfunctions.php`.

      Therefore, if you use the toolbar and you are changing the priority, the cache will be expired - no matter if it's activated or not.

      Current behaviour
      `ezwtServerCallFunctions::updatePriority()` calls `eZContentCacheManager::clearContentCache()` directly

      Expected behaviour
      `ezwtServerCallFunctions::updatePriority()` should call `eZContentCacheManager::clearContentCacheIfNeeded()`

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            nuno.oliveira-obsolete@ez.no Nuno Oliveira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: