jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tobias Bocanegra <tri...@day.com>
Subject Re: Migrate a versionable node to a hierachie node
Date Sat, 02 May 2009 19:52:31 GMT
On Fri, May 1, 2009 at 6:08 PM, chokdee <bowlingbiker@gmail.com> wrote:
> Tobias Bocanegra-3 wrote:
>> what about Node.removeMixin("mix:versionable") ?
> It doesn't work the mixin is defined as a supertypes of  the type I want to
> migrate.
> removeMixin throws an exception
well, if you want to be able to remove the "versionable" state of a
node, you should make it versionable by adding the resp. mixin in the
first place.
other than that, there is not other solution than creating a node
node, copy all properties and moving the child nodes.

regards, toby

View raw message