Alex Parvulescu created OAK-901:
-----------------------------------

             Summary: Test root node type is not reported correctly
                 Key: OAK-901
                 URL: https://issues.apache.org/jira/browse/OAK-901
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: core, jcr
            Reporter: Alex Parvulescu


The test root used in the jcr tests is created as _nt:unstructured_ but calling 
_testRootNode.getDefinition().getDeclaringNodeType().getName()_ will wrongfully 
return _rep:root_ (the node type of the repository root)

This also influences the OAK-900 tests, namely the _ReorderTest_ which will 
throw an _NotExecutableException_ on account of the wrong node type.

I'll shortly add a test.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to