Hi Jackrabbit Community.

Recently I've upgraded environment to 2.2.9 version (from 1.6.1) and faced
with a following problem.
In some use cases the versionable node is copied to a standard one (without
"versionable" mixin).

It was realized by copying the versionable node and removing mixin then.

/workspace.copy(path, destPath);
...
copy.removeMixin(JcrConstants.MIX_VERSIONABLE);/

With 2.2.9 it throws javax.jcr.nodetype.ConstraintViolationException: no
matching property definition found for
{http://www.jcp.org/jcr/1.0}isCheckedOut

So, the main question: how to create a copy without any version information?



--
View this message in context: 
http://jackrabbit.510166.n4.nabble.com/Copy-versionable-node-to-a-standard-one-non-versionable-tp4122850p4122850.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Reply via email to