Details
-
Improvement
-
Resolution: Obsolete
-
Medium
-
4.0.0alpha2, 4.0.2
-
None
Description
There are different locations where default view parameters for /content/view are set. This could lead to inconsistencies if they are changed. Example: The default view parameters are changed in kernel/content/view.php. Then they have to be changed also in ./kernel/classes/ezcontentcachemanager.php (function generateObjectViewCache) or the pre view cache will not work anymore. Perhaps there are other locations too.
It would be a good idea to add a static function getDefaultViewParameters() to cache manager or the content object class to ensure they are in sync everywhere.