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

clearViewCache for subtree uses node column 'contentobject_id' removed since EZP-18195

    XMLWordPrintable

    Details

      Description

      The 'Clear view cache from here' option from the object (class) popup menu does not work.
      An error is also thrown:

      eZContentObject::fetch:
      Object not found ()
      
      Steps to reproduce:
      • In the administration interface, enable debug and debug redirection.
      • Click to view any node with a subtree (such as 'Home' node, click class icon for the popup menu, and choose the 'Delete view cache from here' option.
      Other Notes:

      After investigation, it seems that the relevent section in content/action.php (using 'ClearViewCacheSubtree') is using a node column 'contentobject_id' that does not exist.

      The eZContentObjectTreeNode::clearViewCacheForSubtree() method is using the same column.

      According to the BC notes in the fix for EZP-18195
      (see https://github.com/ezsystems/ezpublish-legacy/commit/4652d45ca637239b4aaa8242fef24d7b6e08b7a6), this column has been removed in favor of just "id".

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                joao.inacio-obsolete@ez.no Joao Inacio (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h