From dev-return-19599-apmail-jackrabbit-dev-archive=jackrabbit.apache.org@jackrabbit.apache.org Mon Aug 04 09:14:36 2008 Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 21539 invoked from network); 4 Aug 2008 09:14:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Aug 2008 09:14:36 -0000 Received: (qmail 79138 invoked by uid 500); 4 Aug 2008 09:14:34 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 79109 invoked by uid 500); 4 Aug 2008 09:14:34 -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 79098 invoked by uid 99); 4 Aug 2008 09:14:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2008 02:14:34 -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, 04 Aug 2008 09:13:47 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3A543234C190 for ; Mon, 4 Aug 2008 02:13:44 -0700 (PDT) Message-ID: <1251863130.1217841224237.JavaMail.jira@brutus> Date: Mon, 4 Aug 2008 02:13:44 -0700 (PDT) From: "Stephane Landelle (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Updated: (JCR-1704) Indexing rules inheritance doesn't work In-Reply-To: <1704181160.1217841104395.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-1704?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Stephane Landelle updated JCR-1704: ----------------------------------- Attachment: IndexingConfigurationImpl.java > Indexing rules inheritance doesn't work > --------------------------------------- > > Key: JCR-1704 > URL: https://issues.apache.org/jira/browse/JCR-1704 > Project: Jackrabbit > Issue Type: Bug > Components: indexing > Affects Versions: core 1.4.5 > Reporter: Stephane Landelle > Attachments: IndexingConfigurationImpl.java > > Original Estimate: 0.17h > Remaining Estimate: 0.17h > > Indexing rules are supposed to be inherited by children node types. > In org.apache.jackrabbit.core.query.lucene.IndexingConfigurationImpl.init= , rules are registered for the declared node type and all its children. How= ever, as the rule's node type is still the original one, the rule gets reje= cted in org.apache.jackrabbit.core.query.lucene.IndexingConfigurationImpl$I= ndexingRule.appliesTo. > One simple solution would be to register not the original rule, but a cop= y where the original node type has been replaced by the child one. > Please find corrected class attached. > Sincerely, > St=C3=A9phane --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.