Hi,
I've implemented a repositor manager and am testing copy function. Copying documents into my repository manager is OK, but when I try to copy a document from my repository to another EP place like /documents, it always failed with an error message Cannot assign an empty string to host variable 4.
I think when copy, the properties and content of the source object will be retrieved. in getProperties() I have the following:
<code>
properties.add(SystemPropertyFactory.createCollectionProperty(false));
properties.add(SystemPropertyFactory.createContentTypeProperty("application/octet-stream"));
properties.add(SystemPropertyFactory.createDisplayNameProperty("mytitle"));
properties.add(SystemPropertyFactory.createReadOnlyProperty(true));
properties.add(SystemPropertyFactory.createContentLengthProperty(888));
</code>
and in getContent() I return BufferedInputStream.
So why there should be empty or null string...
Thanks,
Ray