Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 67268 invoked from network); 15 Oct 2010 13:51:04 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Oct 2010 13:51:04 -0000 Received: (qmail 76213 invoked by uid 500); 15 Oct 2010 13:51:04 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 75923 invoked by uid 500); 15 Oct 2010 13:51:01 -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 75908 invoked by uid 99); 15 Oct 2010 13:51:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Oct 2010 13:51:00 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Oct 2010 13:50:57 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9FDoZbx001715 for ; Fri, 15 Oct 2010 13:50:36 GMT Message-ID: <9022554.161721287150635398.JavaMail.jira@thor> Date: Fri, 15 Oct 2010 09:50:35 -0400 (EDT) From: "Dean Jones (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Commented: (JCR-2427) UUIDDocId.getDocumentNumbers() may return illegal value In-Reply-To: <1153694350.1260284058062.JavaMail.jira@brutus> 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 [ https://issues.apache.org/jira/browse/JCR-2427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921358#action_12921358 ] Dean Jones commented on JCR-2427: --------------------------------- We are experiencing this problem on production systems running v1.6 of Jackrabbit, so would also appreciate a backport of the fix into the 1.6 stream. > 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-beta5 > Reporter: Marcel Reutegger > Priority: Minor > Fix For: 2.0-beta6 > > > 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.