CMIS Web Services: Fix retrieval of content stream for sub-types of Content.

For AIIM demo.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13756 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
David Caruana
2009-03-26 19:05:28 +00:00
parent 73bdb168c4
commit 2280b0ada7
2 changed files with 11 additions and 5 deletions

View File

@@ -117,6 +117,7 @@ public class CMISCustomTypeTest extends BaseCMISWebScriptTest
props.put(QName.createQName(TEST_NAMESPACE, "Title"), "createSubTypeTitle");
props.put(QName.createQName(TEST_NAMESPACE, "Authors"), (Serializable)Arrays.asList(new String[] { "Dave", "Fred" }));
nodeService.addProperties(file.getNodeRef(), props);
fileFolderService.getWriter(file.getNodeRef()).putContent("Some test content");
return null;
}
}, getDefaultRunAs());