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: Bug
Components: nodetype
Affects Versions: core 1.4.1, 1.4
Reporter: Tobias Bocanegra
Assignee: Tobias Bocanegra
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.