jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Guggisberg (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-1914) Node.removeMixin() might leave inconsistent state
Date Wed, 25 Nov 2009 14:49:39 GMT

     [ 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.

View raw message