You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2013/07/16 13:50:49 UTC

[jira] [Created] (OAK-901) Test root node type is not reported correctly

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