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

[Content aggregation] Error in JCR query when selecting several sites

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 3.2.5, 3.3.2, 3.4.1, 3.5
    • None
    • None
    • None

      Choose to retrieve all "article" of site www and blog (see screenshot)

      The executed JCR query is:

      //element(*, ametys:content)[((@ametys-internal:contentType ='org.ametys.web.default.Content.article') and ((@ametys:site = 'www' or @ametys:site = 'blog') and @ametys-internal:language ='fr' and (((@ametys:site = 'blog') and (not(@ametys:privacy) or @ametys:privacy = 'public')))))]

      Because of privacy condition (@ametys:site = 'blog') and (not(@ametys:privacy) or @ametys:privacy = 'public'), only articles of site "blog" are returned

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

              Created:
              Updated:
              Resolved: