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] [Commented] (CMIS-821) Multifiling works now and then when concurrent
Date Wed, 16 Jul 2014 07:46:06 GMT

    [ https://issues.apache.org/jira/browse/CMIS-821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14063254#comment-14063254
] 

Philippe Van Der Gucht commented on CMIS-821:
---------------------------------------------

Checking on the result on the server we see that the adding is simply not happening.

I'm guessing this should be the request:
2014-07-16 09:33:36,200 [DEBUG] (DefaultHttpInvoker) Session da3025a4-d429-4ee6-8bb8-5cc3ab7ebfb9:
POST http://cmisserver/cmis/resources/repositories/OURREP/objects/0bab41308030e5b7/children?allVersions=true

Anyway, apologies for not checking the server-side.

> 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