Skip to content

Commit

Permalink
BUG su restore simple document is not the latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
mspasiano committed Feb 18, 2015
1 parent aa681bf commit 5410421
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -362,8 +362,8 @@ public Document updateContent(String nodeRef, InputStream inputStream, String co
BigInteger.ZERO,
contentType,
inputStream);
document.setContentStream(contentStream, true);
return document;
document.setContentStream(contentStream, true, true);
return document.getObjectOfLatestVersion(false);
}

public void createRelationship(String sourceNodeRef, String sourceNodeTarget, CMISRelationship relationship){
Expand Down

0 comments on commit 5410421

Please sign in to comment.