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 "Jukka Zitting (JIRA)" <ji...@apache.org> on 2013/11/12 21:54:18 UTC

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

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

Jukka Zitting resolved OAK-901.
-------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 0.14)
                   0.11

Fixed in revision 1541230.

> 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
>            Assignee: Jukka Zitting
>             Fix For: 0.11
>
>
> 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 was sent by Atlassian JIRA
(v6.1#6144)