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

Assigning a new section expires the complete cache

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Confirmed
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: 5.4.5
    • Fix Version/s: None
    • Component/s: Caching
    • Labels:
      None

      Description

      If you are on a full view in the backend of a node and you change there the section of the current node, the complete view cache is expired.

      `eZContentObject::expireAllViewCache()` in `eZSection::applyTo()`
      `ezpublish_legacy/kernel/classes/ezsection.php`

      Current behavior:
      In `eZSection::applyTo()` there is a call to `$object->expireAllViewCache()` that expires all view caches.

      Desired behavior:
      Expiring the same caches as after publishing the object.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated: