Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
OpenCMIS 0.5.0
-
None
Description
Modified "GettingStarted":
- Added in the right place:
System.out.println("rendition.contentStream: " + rendition.getContentStream());
- Commented:
// break; // Just show the first object with
// // renditions. Remove this
// // Break to show them all
- Console:
found testNoContent of type Filethat has renditions...
kind: cmis:thumbnail mimetype: image/gif width: -1 height: -1 stream id: nx:icon
Exception in thread "main" org.apache.chemistry.opencmis.commons.exceptions.CmisConstraintException: No content stream
at org.apache.chemistry.opencmis.client.bindings.spi.atompub.ObjectServiceImpl.getContentStream(ObjectServiceImpl.java:442)
at org.apache.chemistry.opencmis.client.runtime.RenditionImpl.getContentStream(RenditionImpl.java:85)
at xxx.test.GettingStarted.main(GettingStarted.java:859)