chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Ashley <iash...@opentext.com>
Subject moveObject and the cache
Date Mon, 29 Apr 2013 17:11:22 GMT
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


Mime
View raw message