Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 6221 invoked from network); 3 Mar 2010 17:58:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Mar 2010 17:58:58 -0000 Received: (qmail 23987 invoked by uid 500); 3 Mar 2010 17:58:50 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 23928 invoked by uid 500); 3 Mar 2010 17:58:50 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 23733 invoked by uid 99); 3 Mar 2010 17:58:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Mar 2010 17:58:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Mar 2010 17:58:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7E57D234C4C0 for ; Wed, 3 Mar 2010 17:58:27 +0000 (UTC) Message-ID: <922670285.40611267639107516.JavaMail.jira@brutus.apache.org> Date: Wed, 3 Mar 2010 17:58:27 +0000 (UTC) From: "angela (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Created: (JCR-2535) jcr-server: Search fails with RepositoryException as Row.getPath() is used with multiple selector names MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org 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.