As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
We have an random error, when we search an document by path (CoreSession.exists(new PathRef("'the path")) we have an Document Not Found Exception. But the document was found by ID (CoreSession.exists(new IdRef("'the id")) or by query (SELECT * FROM "type of Document), the document exist and the path is correct. Same think with the api play ground.
An idea for the error?
Are there special characters in the file name? Cause I experienced similar problem (see https
Obviously this works internally in Nuxeo, which uses this all over the place. So you'll have to provide a concrete example of a failure for us to diagnose anything.
Thanks for your responds.
The problem come from the user workspace, which was duplicated. Same name, same path.
After, for an search by path, on time nuxeo search in a workspace, ohter time in the other.
The duplicate workspaces are created at the first connexion of an new user in our HMI. Two simultaneous webservice calls created a workpace (as it does not yet exist) in two different CoreSession.