jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <aklim...@day.com>
Subject Re: importXML() fails with a ConstraintViolationException
Date Wed, 30 Sep 2009 09:16:14 GMT
On Wed, Sep 30, 2009 at 07:12, freak182 <eman.nollase@gmail.com> wrote:
> I export my repository using exportDocument view and path is
> /photo/upload/test/ (plus the binary and contain versions) and it work fine.
> Now when i importXML
>
> session.importXML("/", file,
> ImportUUIDBehavior.IMPORT_UUID_COLLISION_REMOVE_EXISTING);
>
>  i got this error:
>
>  javax.jcr.nodetype.ConstraintViolationException: no matching property
> definition found for {http://www.jcp.org/jcr/1.0}baseVersion
>
> ...how can i solve this?

Import of versions is not supported at the moment.

Regards,
Alex

-- 
Alexander Klimetschek
alexander.klimetschek@day.com

Mime
View raw message