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

A filtered contents service with orphan contents can not be cacheable

    • 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.

       

          [CMS-9931] A filtered contents service with orphan contents can not be cacheable

          Laurence Aumeunier made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Laurence Aumeunier made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Ready to merge [ 10208 ] New: Resolved [ 5 ]
          Laurence Aumeunier made changes -
          Assignee New: Laurence Aumeunier [ laurence ]
          Simon Prieul (Inactive) made changes -
          Status Original: Code review OK [ 10206 ] New: Ready to merge [ 10208 ]
          Raphaël Franchet made changes -
          Assignee Original: Raphaël Franchet [ raphael ]
          Raphaël Franchet made changes -
          Status Original: Available for review [ 10005 ] New: Code review OK [ 10206 ]
          Raphaël Franchet made changes -
          Status Original: Open [ 1 ] New: Available for review [ 10005 ]
          Raphaël Franchet made changes -
          Assignee Original: Laurence Aumeunier [ laurence ] New: Raphaël Franchet [ raphael ]
          Raphaël Franchet made changes -
          Status Original: Available for review [ 10005 ] New: Open [ 1 ]
          Raphaël Franchet made changes -
          Assignee Original: Raphaël Franchet [ raphael ] New: Laurence Aumeunier [ laurence ]

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

              Created:
              Updated:
              Resolved: