Hi,

I having difficulties to implement a copy functionality between repositories. Each of my repositories are associated to an organization, and I need sometimes to copy information from one to the other. I really want here a copy, i.e. the copied node must have the same properties & subtree but a different UUID than the original ones.

I've 1st tried to do that with exportSystemView/importXML but the problem is that the UUID remain the same and I obtain strange behavior on the copied nodes when I remove the original nodes. I've done a 2nd attempt using exportDocumentView but then my importXML throws an exception related to the mixin types: javax.jcr.nodetype.ConstraintViolationException: no matching property definition found for {http://www.fylab.com/eliot}item_description

What should I do to copy everything but the UUID between repositories?
Do you think the export/import is the right way to perform a copy, or shall I perform it manually?

John

Reply via email to