jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From VitalyL <Vital...@gmail.com>
Subject Copy versionable node to a standard one (non-versionable)
Date Wed, 30 Nov 2011 12:49:00 GMT
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);

With 2.2.9 it throws javax.jcr.nodetype.ConstraintViolationException: no
matching property definition found for

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.

View raw message