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 "angela (JIRA)" <ji...@apache.org> on 2013/04/04 18:35:18 UTC

[jira] [Reopened] (OAK-695) TypeEditor must not check hidden nodes

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

angela reopened OAK-695:
------------------------


while working on OAK-709 i detected that we prevent hidden properties
to be exposed by the TreeImpl but we forgot to do the same for
hidden nodes.

adding such a restriction will cause this test case to fail.
IMO this test should rather operate on the node state level.
                
> TypeEditor must not check hidden nodes
> --------------------------------------
>
>                 Key: OAK-695
>                 URL: https://issues.apache.org/jira/browse/OAK-695
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.6
>            Reporter: Marcel Reutegger
>            Priority: Minor
>             Fix For: 0.7
>
>         Attachments: OAK-695.patch
>
>
> Hidden nodes like those created by the p2 index are not JCR nodes and must not be checked by the TypeValidator.
> I encountered this issue when running tests with the new MongoMK, but I'm wondering why we don't see this more often...

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