You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2013/03/05 09:54:11 UTC

[jira] [Resolved] (JCR-3528) Node type selection for CanAddChildNodeCallWithNodeTypeTest#testResidualAndLegalType is not optimal

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

Alex Parvulescu resolved JCR-3528.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.7

Thanks Jukka for the feedback!

fixed with rev 1452698.
                
> Node type selection for CanAddChildNodeCallWithNodeTypeTest#testResidualAndLegalType is not optimal
> ---------------------------------------------------------------------------------------------------
>
>                 Key: JCR-3528
>                 URL: https://issues.apache.org/jira/browse/JCR-3528
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jcr-tests
>            Reporter: Alex Parvulescu
>            Assignee: Alex Parvulescu
>            Priority: Minor
>             Fix For: 2.7
>
>         Attachments: JCR-3528.patch
>
>
> Similar to JCR-3524, the node type selection for this test is influenced by the underlying storage.
> It can choose the fist node type even if that is invalid for the purpose of the test and fail the test.
> For example running against an Oak backend the test can choose _nt:folder_ as a parent and _nt:hierarchyNode_ as a child, but because _nt:hierarchyNode_ is abstract it cannot be used, so the test fails for the wrong reason.

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