chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller <f...@apache.org>
Subject Re: moveObject and the cache
Date Mon, 29 Apr 2013 17:55:18 GMT
Hi Ian,

Which OpenCMIS version are you using?
Objects are removed from the cache after a move since OpenCMIS 0.8.0.


- Florian


> 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