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] Updated: (JCR-2159) Session.move() fails when defining nt:base / nt:hiearachy nodetype as 'abstract'
Date Thu, 18 Jun 2009 00:16:07 GMT

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

Tobias Bocanegra updated JCR-2159:
----------------------------------

    Priority: Blocker  (was: Major)

> 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
>            Priority: Blocker
>             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