You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Stefan Guggisberg (JIRA)" <ji...@apache.org> on 2009/11/25 15:49:39 UTC
[jira] Updated: (JCR-1914) Node.removeMixin() might leave
inconsistent state
[ 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.