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