Details
-
Bug
-
Resolution: Fixed
-
High
-
5.0, 5.1, 5.2-dev
-
None
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".