[
https://issues.apache.org/jira/browse/OAK-2488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14312288#comment-14312288
]
angela commented on OAK-2488:
-----------------------------
an alternative approach for the patch would be to test if the jcr:mixinTypes
property is readable; if it's readable use the regular tree operation if it's
not readable fallback but with the extra check added by the patch.
btw: we most probably have a similar issue with the primary type. i will also
add a test case for that and add an equivalent fix.
> Node.getMixinNodeTypes can revive deleted node mixins
> -----------------------------------------------------
>
> Key: OAK-2488
> URL: https://issues.apache.org/jira/browse/OAK-2488
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: oak-jcr
> Affects Versions: 1.1.6
> Reporter: Alex Parvulescu
> Assignee: angela
> Fix For: 1.0.12, 1.1.7
>
> Attachments: OAK-2488.patch
>
>
> This looks like a regression introduced by OAK-2441. If a node is deleted and
> added again, the mixin call will return mixins from the previous node.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)