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

Conditions of the form "(x=1 or x=2) or y=3" are not processed correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.11
    • query
    • None

    Description

      The following query produces no results, even if the second part of the condition matches a row:

      "/jcr:root/etc///*[(
        (@jcr:primaryType = 'a' or @jcr:primaryType = 'b') or 
        @nt:resourceType = 'c')]
      

      Attachments

        Activity

          People

            thomasm Thomas Mueller
            thomasm Thomas Mueller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: