jcr-server: Search fails with RepositoryException as Row.getPath() is used with
multiple selector names
-------------------------------------------------------------------------------------------------------
Key: JCR-2535
URL: https://issues.apache.org/jira/browse/JCR-2535
Project: Jackrabbit Content Repository
Issue Type: Bug
Components: jackrabbit-jcr-server
Affects Versions: 2.0.0
Reporter: angela
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.