jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angela (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-2535) jcr-server: Search fails with RepositoryException as Row.getPath() is used with multiple selector names
Date Thu, 04 Mar 2010 07:44:28 GMT

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

angela updated JCR-2535:
------------------------

    Component/s: JCR 2.0

> 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.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.


Mime
View raw message