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

UserQueryManager: omits nt-name when searching for properties without path deliminator

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.0, 1.8.0
    • core
    • None

    Description

      The query generated for UserManager.findAuthorizables(String relPath, String value, int searchType) and UserManager.findAuthorizables(String relPath, String value) doesn't include the node type name in the query statement if the relPath param doesn't include a path deliminator.

      While the contract mandates that a simple propertyName will result in a query that search the whole subtree defined by a given authorizable (i.e. including properties defined at child nodes) this causes a traversal query even for properties like rep:principalName or rep:authorizableId, which are considered reserved and are covered with a dedicated index.

      Attachments

        Issue Links

          Activity

            People

              angela Angela Schreiber
              angela Angela Schreiber
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: