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

Florent Guillaume commented on CMIS-154:
----------------------------------------

In bug reports please always state what you would like the code to do, and why, 
instead of giving just the current status.

(Although here it may be obvious, it's good to guide the reader and be 
explicit.)


> 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
>
> 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