Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 458 invoked from network); 18 Jun 2009 10:19:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Jun 2009 10:19:21 -0000 Received: (qmail 62524 invoked by uid 500); 18 Jun 2009 10:19:32 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 62464 invoked by uid 500); 18 Jun 2009 10:19:32 -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 62456 invoked by uid 99); 18 Jun 2009 10:19:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jun 2009 10:19:31 +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; Thu, 18 Jun 2009 10:19:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AD818234C044 for ; Thu, 18 Jun 2009 03:19:07 -0700 (PDT) Message-ID: <2123906999.1245320347709.JavaMail.jira@brutus> Date: Thu, 18 Jun 2009 03:19:07 -0700 (PDT) From: "Tobias Bocanegra (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Resolved: (JCR-2066) NodeTypeRegistry could auto-subtype from nt:base In-Reply-To: <1396863531.1239200593118.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-2066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tobias Bocanegra resolved JCR-2066. ----------------------------------- Resolution: Fixed Fix Version/s: 2.0.0 fixed in revision 786003 > NodeTypeRegistry could auto-subtype from nt:base > ------------------------------------------------ > > Key: JCR-2066 > URL: https://issues.apache.org/jira/browse/JCR-2066 > Project: Jackrabbit Content Repository > Issue Type: Improvement > Components: jackrabbit-core > Reporter: Tobias Bocanegra > Assignee: Tobias Bocanegra > Priority: Minor > Fix For: 2.0.0 > > > this is basically a copy of JCR-433, which was fixed but somehow sneaked in again: > when tying to register a (primary) nodetype that does not extend from nt:base the following error is > thrown: > "all primary node types except nt:base itself must be (directly or indirectly) derived from nt:base" > since the registry is able to detect this error, it would be easy to auto-subtype all nodetypes from nt:base. > imo it's pointless to explicitly add the nt:base to every superclass set. as an analogy, you don't need to > 'extend from java.lang.Object' explicitly - the compiler does that automatically for your. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.