jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angela (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-2337) NodeMixinUtil should exclude for mix:shareable
Date Thu, 01 Oct 2009 13:33:23 GMT
NodeMixinUtil should exclude for mix:shareable

                 Key: JCR-2337
                 URL: https://issues.apache.org/jira/browse/JCR-2337
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-jcr-tests, JCR 2.0, test
            Reporter: angela
             Fix For: 2.0.0

The mixin test NodeRemoveMixinTest#testRemoveSuccessfully tries to remove a mixin:

what it does: retrieve an addable mixin (NodeTypeUtil#getAddableMixinName), adds it and tries
to remove it later on.
the addable mixins are retrieve from the complete set of mixin, testing node.canAddMixin.

However: with jackrabbit-core "mix:shareable" can be added but not removed.
if the test by chance gets exactly that mixin the test fails with exception (there is an explicit
check the core for exactly that case).

the tck should exclude that special case, shouldn't it?

((michael found the issue)) 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message