[ 
https://issues.apache.org/jira/browse/CMIS-154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Caruana resolved CMIS-154.
--------------------------------

    Resolution: Fixed
      Assignee: David Caruana

http://svn.apache.org/viewvc?view=revision&revision=921824

Create relationship now specifies the sourceId of the source object.

> CMISClient.createRelationship - cmis:sourceId is not specified
> --------------------------------------------------------------
>
>                 Key: CMIS-154
>                 URL: https://issues.apache.org/jira/browse/CMIS-154
>             Project: Chemistry
>          Issue Type: Bug
>          Components: tck
>         Environment: TCK, xCMIS
>            Reporter: Alexey Zavizionov
>            Assignee: David Caruana
>
> CMISClient.createRelationship
>     public Entry createRelationship(IRI parent, String type, String targetId, 
> String atomEntryFile) throws Exception {
>         type = (type == null) ? defaultRelationshipType : type;
>         String createFile = templates.load(atomEntryFile);
>         createFile = createFile.replace("${RELTYPE}", type);
>         createFile = createFile.replace("${TARGETID}", targetId);
>         Request req = new PostRequest(parent.toString(), createFile, 
> CMISConstants.MIMETYPE_ENTRY);
>         Response res = executeRequest(req, 201);

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to