chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sagara Paranagama <sagara89...@gmail.com>
Subject TCK test for getContentStream() checks for null instead of exception
Date Thu, 11 Oct 2012 06:57:43 GMT
Hi all,

The CMIS specification says getContentStream() MUST throw a constraint
exception if the object specified by objectId does NOT have a content
stream or rendition stream[1]. However in the TCK[2] it asserts the return
value of getContentStream() for null. Is this correct?

[1] -
http://docs.oasis-open.org/cmis/CMIS/v1.0/errata-01/os/cmis-spec-v1.0-errata-01-os-complete.html#_Toc243905458
[2] -
https://svn.apache.org/repos/asf/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tck/src/main/java/org/apache/chemistry/opencmis/tck/tests/crud/SetAndDeleteContentTest.java

Thanks,
Sagara.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message