Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-1405

OR of different constraints broken

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.15
    • Fix Version/s: 0.17
    • Component/s: query
    • Labels:
      None

      Description

      There is a peculiar search bug on load 16 that 'OR' of 3 constraints is broken but removing any one returns the results. The below query returns no results but removing any one of 3 'OR'ed conditions returns the result.

      //*[( jcr:content/metadata/@cq:tags = 'stockphotography:business' or jcr:like(jcr:content/metadata/@cq:tags, 'stockphotography:business/%') or jcr:content/metadata/@cq:tags = '/etc/tags/stockphotography/business') ]

        Attachments

          Activity

            People

            • Assignee:
              thomasm Thomas Mueller
              Reporter:
              amalhotr Ankush Malhotra
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: