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 651b53c commit 0aae36a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -330,7 +330,7 @@ public Document restoreSimpleDocument(OggettoBulk oggettoBulk, InputStream input
} catch (CmisObjectNotFoundException e){
return storeSimpleDocument(oggettoBulk, inputStream, contentType, name, cmisPath, objectTypeName, makeVersionable, permissions);
}
updateContent(node.getId(), inputStream, contentType);
updateContent(node.getObjectOfLatestVersion(false).getId(), inputStream, contentType);
return node;
}

Expand Down

0 comments on commit 0aae36a

Please sign in to comment.