chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe Van Der Gucht (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CMIS-821) Multifiling works now and then when concurrent
Date Tue, 15 Jul 2014 09:26:05 GMT
Philippe Van Der Gucht created CMIS-821:
-------------------------------------------

             Summary: Multifiling works now and then when concurrent
                 Key: CMIS-821
                 URL: https://issues.apache.org/jira/browse/CMIS-821
             Project: Chemistry
          Issue Type: Bug
          Components: opencmis-client
    Affects Versions: OpenCMIS 0.11.0
            Reporter: Philippe Van Der Gucht


My integration testcase works perfectly when running standalone but I'm have trouble when
running 3 instances of it at the same time.

I use multifiling to store a document under 2 folders like this.

{code}
Folder folder = (Folder) cmisSession.getObject(folder1ObjectId);
Document  document = folder.createDocument(properties, contentStream, VersioningState.NONE);
document.addToFolder(cmisSession.createObjectId(folder2ObjectId), true);
{code}

Yet when I do a query and use getParents() on the resulting document I sometimes only get
folder1.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message