Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-2535

jcr-server: Search fails with RepositoryException as Row.getPath() is used with multiple selector names

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.0
    • None
    • None

    Description

      SearchResourceImpl line 246 call Row.getPath() without testing for multiple selector names.
      this causes the query to fail with the following RepositoryException:

      javax.jcr.RepositoryException: More than one selector. Use getPath(String) instead.

      i have the impression this should be easy to fix for somebody familiar with the query. the comment
      says: // get the path for the first selector and build [...]

      but apparently Row.getPath() isn't the right choice.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: