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

UserQueryManager.findAuthorizables fails with IllegalArgumentException when there are multiple selectors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.1, 1.8.0
    • core
    • None

    Description

      while writing test cases i managed to create a query that results in IllegalArgumentException because there were multiple selectors but ResultRowToAuthorizable would call ResultRow.getPath(), without specifying the selector.

      tmueller instructed me to make use of Result.getColumnSelectorNames to spot the cases where there are multiple selector names.

      alex.parvulescu, i will attach a patch and would appreciate if you could take a look.

      Attachments

        1. OAK-6290.patch
          4 kB
          Angela Schreiber

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: