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

Default view parameters are defined at different locations

    XMLWordPrintable

Details

    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.

      Attachments

        Activity

          People

            unknown unknown
            ab@ez.no ab@ez.no
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: