Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-9931

A filtered contents service with orphan contents can not be cacheable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 4.2.2, 4.3.0
    • None
    • None
    • None
    • 4.3 M1

      If we use a filtered contents services with orphan contents without checking user's access the orphan contents cannot be retrieved.

      As orphan contents have no referencing pages, org.ametys.web.pageaccess.ContentAccessManager.isAccessibleByPage(WebContent, Page) always return false.

      As consequence, the service should be configured with user's access and so it can not be cacheable.

      This service is used on home page of projects to display wall contents and leads to performance issues.

       

            laurence Laurence Aumeunier
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: