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] Resolved: (JCR-2634) weird error when adding a node using an abstract/mixin nodetype
Date Tue, 18 May 2010 21:19:41 GMT

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

Tobias Bocanegra resolved JCR-2634.
-----------------------------------

    Resolution: Fixed

fixed in revision 945892

> 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.


Mime
View raw message