Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-7437

XPath query issue when querying compounds, maybe permission related.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Won't Fix
    • 2.24.06
    • None
    • cms7-project
    • None

    Description

      Description: this seems to have something to do with user rights. When querying compounds using XPath, liveuser doesn't get any results while admin got expected result set. There are no errors in the logs.

      Reproduction path:

      In the latest Go-Green: change the 'poll:introduction' of a 'poll:poll' compound so that it starts with 'A' for instance, and then query the repository as 'admin'and 'liveuser' using the repository servlet:

      //element(*, poll:poll)[jcr:like(@poll:introduction, 'a%') or jcr:like(@poll:introduction, 'A%')]

      liveuser: 0 results
      admin: 1 result

      Number of results found: -1

      /content/documents/hippogogreen/polls/How-do-you-feel-about-green-energy/How-do-you-feel-about-green-energy/poll:poll

      In the repository servlet, the liveuser can browse the polls, and can even see the poll:poll fields.

      Attachments

        Activity

          People

            aschrijvers Ard Schrijvers
            obourgeois Olivier Bourgeois (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: