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

Assigning a new section expires the complete cache

    Details

    • Type: Improvement Improvement
    • Status: Confirmed
    • Priority: High 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.

        Activity

        Nuno Oliveira (Inactive) created issue -
        Nuno Oliveira (Inactive) made changes -
        Field Original Value New Value
        Status Open [ 1 ] Confirmed [ 10037 ]
        Alex Schuster made changes -
        Workflow EZ* Development Workflow [ 97914 ] EZEE Development Workflow [ 108682 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Confirmed Confirmed
        2m 7s 1 nuno.oliveira@ez.no 29/Feb/16 6:57 PM

          People

          • Assignee:
            Unassigned
            Reporter:
            Nuno Oliveira (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: