Uploaded image for project: 'Chemistry (Retired)'
  1. Chemistry (Retired)
  2. CMIS-154

CMISClient.createRelationship - cmis:sourceId is not specified

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.1.0-incubating
    • tck
    • None
    • TCK, xCMIS

    Description

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

      Attachments

        Activity

          People

            dcaruana David Caruana
            exoman Alexey Zavizionov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: