Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 90366 invoked from network); 23 Jun 2008 08:41:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Jun 2008 08:41:06 -0000 Received: (qmail 74861 invoked by uid 500); 23 Jun 2008 08:41:07 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 74836 invoked by uid 500); 23 Jun 2008 08:41:07 -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 74824 invoked by uid 99); 23 Jun 2008 08:41:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jun 2008 01:41:07 -0700 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; Mon, 23 Jun 2008 08:40:25 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 09650234C147 for ; Mon, 23 Jun 2008 01:40:45 -0700 (PDT) Message-ID: <2130167944.1214210445037.JavaMail.jira@brutus> Date: Mon, 23 Jun 2008 01:40:45 -0700 (PDT) From: "Thomas Mueller (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Created: (JCR-1660) Consistency check / fix skips system nodes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Consistency check / fix skips system nodes ------------------------------------------ Key: JCR-1660 URL: https://issues.apache.org/jira/browse/JCR-1660 Project: Jackrabbit Issue Type: Bug Components: jackrabbit-core Reporter: Thomas Mueller Priority: Minor BundleDbPersistenceManager.checkBundleConsistency skips the consistency check and fix for some nodes: // skip check for system nodes (root, system root, version storage, node types) if (entry.getId().toString().endsWith("babecafebabe")) { continue; } if (id.toString().endsWith("babecafebabe")) { continue; } The reason is (as far as I understand) that some system nodes refer to child nodes in another workspace. But probably this check should be more specific so that real inconsistencies in the system nodes are still fixed. Also, it is not nice to hardcode "babecafebabe" here: a constant should be used, or some other solution that does not rely on a fixed system node id. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.