You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "angela (JIRA)" <ji...@apache.org> on 2009/10/01 15:33:23 UTC

[jira] Created: (JCR-2337) NodeMixinUtil should exclude for mix:shareable

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.


[jira] Updated: (JCR-2337) TCK: NodeMixinUtil should exclude for mix:shareable

Posted by "angela (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

angela updated JCR-2337:
------------------------

    Summary: TCK: NodeMixinUtil should exclude for mix:shareable  (was: NodeMixinUtil should exclude for mix:shareable)

> TCK: 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.


[jira] Assigned: (JCR-2337) TCK: NodeMixinUtil should exclude for mix:shareable

Posted by "Michael Dürig (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Dürig reassigned JCR-2337:
----------------------------------

    Assignee: Michael Dürig

> TCK: 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
>            Assignee: Michael Dürig
>             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.


[jira] Resolved: (JCR-2337) TCK: NodeMixinUtil should exclude for mix:shareable

Posted by "Michael Dürig (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Dürig resolved JCR-2337.
--------------------------------

    Resolution: Fixed

Fixed in revision: 820655  


> TCK: 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
>            Assignee: Michael Dürig
>             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.