jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Bocanegra (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (JCR-2066) NodeTypeRegistry could auto-subtype from nt:base
Date Thu, 18 Jun 2009 14:33:07 GMT

     [ https://issues.apache.org/jira/browse/JCR-2066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Tobias Bocanegra reopened JCR-2066:

apparently there are issues on non-linux platforms. probably due to different hash codes.

> 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

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message