weird error when adding a node using an abstract/mixin nodetype
---------------------------------------------------------------
Key: JCR-2634
URL: https://issues.apache.org/jira/browse/JCR-2634
Project: Jackrabbit Content Repository
Issue Type: Improvement
Components: jackrabbit-jcr2spi
Affects Versions: 2.0.0
Reporter: Tobias Bocanegra
Assignee: Tobias Bocanegra
Priority: Minor
Fix For: 2.2.0
when trying to add a node "files" with an abstract nodetype, i.e. nt:base, the
following error is reported:
javax.jcr.nodetype.ConstraintViolationException: {}files is abstract be used
as primary node type.
the correct wording could be:
javax.jcr.nodetype.ConstraintViolationException: not allowed to add node
{}files: {http://www.jcp.org/jcr/nt/1.0}base is abstract and cannot be used as
primary node type.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.