You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2007/04/20 15:49:15 UTC

[jira] Created: (JCR-856) NodeAddMixinTest assumptions on addMixin behaviour

NodeAddMixinTest assumptions on addMixin behaviour
--------------------------------------------------

                 Key: JCR-856
                 URL: https://issues.apache.org/jira/browse/JCR-856
             Project: Jackrabbit
          Issue Type: Bug
          Components: JCR TCK
            Reporter: Julian Reschke
         Assigned To: Julian Reschke
            Priority: Minor


NodeAddMixinTest.testAddMixinReferencable() assumes that mix:referenceable can be added to the test node type. In practice, the node type may already inherit mix:referenceable, but it may not be active until the node is saved. Thus, a ConstraintViolationException upon addMixin should be catched, and the mixin should be checked after save() again.


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


[jira] Updated: (JCR-856) NodeAddMixinTest assumptions on addMixin behaviour

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

Jukka Zitting updated JCR-856:
------------------------------

    Affects Version/s: 0.9
                       1.0
                       1.0.1
                       1.1
                       1.1.1
                       1.2.1
                       1.2.2
                       1.2.3
                       1.3
        Fix Version/s: 1.3.1

Merged to the 1.3 branch in revision 544222.

> NodeAddMixinTest assumptions on addMixin behaviour
> --------------------------------------------------
>
>                 Key: JCR-856
>                 URL: https://issues.apache.org/jira/browse/JCR-856
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: JCR TCK
>    Affects Versions: 0.9, 1.0, 1.0.1, 1.1, 1.1.1, 1.2.1, 1.2.2, 1.2.3, 1.3
>            Reporter: Julian Reschke
>            Assignee: Julian Reschke
>            Priority: Minor
>             Fix For: 1.3.1
>
>
> NodeAddMixinTest.testAddMixinReferencable() assumes that mix:referenceable can be added to the test node type. In practice, the node type may already inherit mix:referenceable, but it may not be active until the node is saved. Thus, a ConstraintViolationException upon addMixin should be catched, and the mixin should be checked after save() again.

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


[jira] Resolved: (JCR-856) NodeAddMixinTest assumptions on addMixin behaviour

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

Julian Reschke resolved JCR-856.
--------------------------------

    Resolution: Fixed

Fixed with revision 530810.


> NodeAddMixinTest assumptions on addMixin behaviour
> --------------------------------------------------
>
>                 Key: JCR-856
>                 URL: https://issues.apache.org/jira/browse/JCR-856
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: JCR TCK
>            Reporter: Julian Reschke
>         Assigned To: Julian Reschke
>            Priority: Minor
>
> NodeAddMixinTest.testAddMixinReferencable() assumes that mix:referenceable can be added to the test node type. In practice, the node type may already inherit mix:referenceable, but it may not be active until the node is saved. Thus, a ConstraintViolationException upon addMixin should be catched, and the mixin should be checked after save() again.

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