jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gazi Mushfiqur Rahman <gazimushfiqurrah...@gmail.com>
Subject Re: problem with removeMixin
Date Tue, 12 Apr 2011 06:16:33 GMT
In my case, I added 'mix:shareable' mixin to a node created earler. But
later if I try to remove the mixin, I get the error message that
'mix:shareable' mixin can not be removed from the node. Any idea why this is
happening or how I can fix this issue?

On Tue, Apr 12, 2011 at 12:29 AM, Alexander Klimetschek
<aklimets@adobe.com>wrote:

> On 11.04.11 09:55, "Justin Edelson" <justin@justinedelson.com> wrote:
>
> >You should use removeMixin(). But, as the OP noted, you can't remove a
> >mixin which wasn't added by addMixin().
>
> Exactly. Because a mixin that is part of a (primary) node type because
> that node type includes it / inherits from it, is not really a mixin
> anymore.
>
> Regards,
> Alex
>
> --
> Alexander Klimetschek
> Developer // Adobe (Day) // Berlin - Basel
>
>
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message