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] Created: (JCR-2159) Session.move() fails when defining nt:base / nt:hiearachy nodetype as 'abstract'
Date Wed, 17 Jun 2009 23:14:07 GMT
Session.move() fails when defining nt:base / nt:hiearachy nodetype as 'abstract' 
---------------------------------------------------------------------------------

                 Key: JCR-2159
                 URL: https://issues.apache.org/jira/browse/JCR-2159
             Project: Jackrabbit Content Repository
          Issue Type: Bug
    Affects Versions: 2.0.0
            Reporter: Tobias Bocanegra
             Fix For: 2.0.0


JSR283 introduces a new node type attribute 'abstract' and defines nt:base and nt:hierarchyNode
as such.
when changing those nodetypes, the session.move (and probably others) fails with:

javax.jcr.nodetype.ConstraintViolationException: nt:hierarchyNode: is an abstract node type.
        at org.apache.jackrabbit.core.NodeImpl.internalAddChildNode(NodeImpl.java:768)
        at org.apache.jackrabbit.core.NodeImpl.internalAddNode(NodeImpl.java:737)
        at org.apache.jackrabbit.core.NodeImpl.internalAddNode(NodeImpl.java:691)
        at org.apache.jackrabbit.core.NodeImpl.addNode(NodeImpl.java:2147)
        at org.apache.jackrabbit.test.api.SessionTest.testMoveItemExistsException(SessionTest.java:69)


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