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 2008/12/19 11:09:44 UTC

[jira] Created: (JCR-1914) Inconsistent jcr:mixinTypes if removing a mixin type failes upon clean-up

Inconsistent jcr:mixinTypes if removing a mixin type failes upon clean-up
-------------------------------------------------------------------------

                 Key: JCR-1914
                 URL: https://issues.apache.org/jira/browse/JCR-1914
             Project: Jackrabbit
          Issue Type: Bug
          Components: jackrabbit-core
            Reporter: angela


After having removed a mixin from the jcr:mixinTypes property NodeImpl#removeMixin(Name mixinName) all child prop/node entries are checked for being defined by the removed mixin only, in which case there are removed.

this code may fail due to limited permissions and Node.removeMixin fails. However the value of the jcr:mixinTypes properties isn't reverted to the original state as far as i know.



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


[jira] Updated: (JCR-1914) Node.removeMixin() might leave inconsistent state

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

Stefan Guggisberg updated JCR-1914:
-----------------------------------

    Summary: Node.removeMixin() might leave inconsistent state  (was: Inconsistent jcr:mixinTypes if removing a mixin type failes upon clean-up)

it's not just about inconsistent jcr:mixinTypes values, there might have been other (successful) modifications before the operation evantually fails due to insufficient privileges.

> Node.removeMixin() might leave inconsistent state
> -------------------------------------------------
>
>                 Key: JCR-1914
>                 URL: https://issues.apache.org/jira/browse/JCR-1914
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 1.5.0
>            Reporter: angela
>
> After having removed a mixin from the jcr:mixinTypes property NodeImpl#removeMixin(Name mixinName) all child prop/node entries are checked for being defined by the removed mixin only, in which case there are removed.
> this code may fail due to limited permissions and Node.removeMixin fails. However the value of the jcr:mixinTypes properties isn't reverted to the original state as far as i know.

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


[jira] Commented: (JCR-1914) Inconsistent jcr:mixinTypes if removing a mixin type failes upon clean-up

Posted by "angela (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-1914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12658048#action_12658048 ] 

angela commented on JCR-1914:
-----------------------------

i will address this, while working on the latest changes to be done to the 283 security implementation.

> Inconsistent jcr:mixinTypes if removing a mixin type failes upon clean-up
> -------------------------------------------------------------------------
>
>                 Key: JCR-1914
>                 URL: https://issues.apache.org/jira/browse/JCR-1914
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 1.5.0
>            Reporter: angela
>
> After having removed a mixin from the jcr:mixinTypes property NodeImpl#removeMixin(Name mixinName) all child prop/node entries are checked for being defined by the removed mixin only, in which case there are removed.
> this code may fail due to limited permissions and Node.removeMixin fails. However the value of the jcr:mixinTypes properties isn't reverted to the original state as far as i know.

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


[jira] Updated: (JCR-1914) Inconsistent jcr:mixinTypes if removing a mixin type failes upon clean-up

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

angela updated JCR-1914:
------------------------

    Affects Version/s: 1.5.0

> Inconsistent jcr:mixinTypes if removing a mixin type failes upon clean-up
> -------------------------------------------------------------------------
>
>                 Key: JCR-1914
>                 URL: https://issues.apache.org/jira/browse/JCR-1914
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 1.5.0
>            Reporter: angela
>
> After having removed a mixin from the jcr:mixinTypes property NodeImpl#removeMixin(Name mixinName) all child prop/node entries are checked for being defined by the removed mixin only, in which case there are removed.
> this code may fail due to limited permissions and Node.removeMixin fails. However the value of the jcr:mixinTypes properties isn't reverted to the original state as far as i know.

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