Hi Piergiorgio,

OpenCMIS does not cache queries or query results - neither on the client nor on the server side. All queries are sent to the repository and all query results are straightly converted to Java objects.
I cannot explain the behavior that you are seeing.

Can you describe your setup? Binding, repository vendor, query, etc.
Is there a (simple) way to reproduce this?

The best way to get information about deleted objects is getContentChanges (see CMIS spec 1.1, section 2.1.15 "Change Log"). Unfortunately, it is only supported by a few repositories or repositories have deactivated it by default. You will always need your query solution as a backup.


- Florian




Hi guys,

we are adding a new feature in Apache ManifoldCF for migrating contents
from any repository supported by the framework (we have connectors for
CMIS, Alfresco, Documentum, Sharepoint, FileNet and so on...) to any
CMIS-compliant repo.

We are finalizing this implementation but during the execution of
integration tests, we have found a strange behavior of the OpenCMIS Server
[1].

After the upgrade of the OpenCMIS libraries to the latest version (we were on 0.13.0), it seems that when we remove a content from the repo, queries continue to return the content. Unfortunately in this way ManifoldCF can't identify which contents should be removed in the target repo because the
query return the same results.

Do you have changed the behavior for removal in the OpenCMIS Server?
Am I missing something?

I'm wondering if there is a flag for identifying deleted content or I
should take care of the caching strategy. I think that I need your support
for solving this problem.

Could you please support me?
Thank you.

Cheers,
PJ

[1] - https://issues.apache.org/jira/browse/CONNECTORS-1356

Reply via email to