[ 
https://issues.apache.org/jira/browse/JCR-2535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jukka Zitting resolved JCR-2535.
--------------------------------

    Resolution: Duplicate

This got fixed in JCR-3198.
                
> 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, JCR 2.0
>    Affects Versions: 2.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.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to