jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-1471) Error when registering nodetype with same propdef as supertype
Date Thu, 13 Mar 2008 13:43:46 GMT

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

Jukka Zitting updated JCR-1471:
-------------------------------

    Issue Type: Improvement  (was: Bug)

Re-classified this as an improvement as the original behaviour seems to be as designed.

No opinion on whether the behaviour should be changed, I haven't looked at the details.

> Error when registering nodetype with same propdef as supertype
> --------------------------------------------------------------
>
>                 Key: JCR-1471
>                 URL: https://issues.apache.org/jira/browse/JCR-1471
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: nodetype
>    Affects Versions: 1.4, core 1.4.1
>            Reporter: Tobias Bocanegra
>            Assignee: Tobias Bocanegra
>             Fix For: 1.5
>
>
> error in check:
>                                 if (pd.getRequiredType() == epd.getRequiredType()
>                                         && pd.isMultiple() == epd.isMultiple())
{
>                                     // conflict
>                                     String msg = "The property definition for '"
>                                             + name + "' in node type '"
>                                             + def.getDeclaringNodeType()
>                                             + "' conflicts with node type '"
>                                             + existingDef.getDeclaringNodeType()
>                                             + "': ambiguous property definition";
>                                     log.debug(msg);
>                                     throw new NodeTypeConflictException(msg);
>                                 }
> if needs to be inverted.

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


Mime
View raw message