Dear all,

After using the move method of FileableCmisObject it looks like the object 
being moved needs updating in the cache.

When we call
        fileableObject = (FileableCmisObject)session.getObject(objectId);
        fileableObject.move(sourceId, targetId);
        object = session.getObject(objectId);
        parentId = object.getProperty(PropertyIds.PARENT_ID)
parentId is sourceId rather than targetId

We have worked round the problem by removing the object from the cache after 
moving it. Our repository doesn't check the id of the object when it is moved.

Regards,
Ian

Reply via email to