Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 44205 invoked from network); 8 Dec 2009 14:54:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Dec 2009 14:54:41 -0000 Received: (qmail 55981 invoked by uid 500); 8 Dec 2009 14:54:40 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 55912 invoked by uid 500); 8 Dec 2009 14:54:40 -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 55904 invoked by uid 99); 8 Dec 2009 14:54:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Dec 2009 14:54:40 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI 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; Tue, 08 Dec 2009 14:54:38 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 12BD829A0011 for ; Tue, 8 Dec 2009 06:54:18 -0800 (PST) Message-ID: <1153694350.1260284058062.JavaMail.jira@brutus> Date: Tue, 8 Dec 2009 14:54:18 +0000 (UTC) From: "Marcel Reutegger (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Created: (JCR-2427) UUIDDocId.getDocumentNumbers() may return illegal value MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 UUIDDocId.getDocumentNumbers() may return illegal value ------------------------------------------------------- Key: JCR-2427 URL: https://issues.apache.org/jira/browse/JCR-2427 Project: Jackrabbit Content Repository Issue Type: Bug Components: jackrabbit-core Affects Versions: 2.0-beta3 Reporter: Marcel Reutegger Priority: Minor Happens when the node with the given UUID is not present in the index. The method then returns -1, which is illegal. Document numbers must be >= 0. The method must returns an empty array when the id is invalid, as documented in DocId.getDocumentNumbers(). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.