-
Type:
Bug
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: OpenCMIS 0.3.0
-
Fix Version/s: OpenCMIS 0.4.0
-
Component/s: opencmis-tck
-
Labels:None
The OpenTCK expects a base type's cmis:parentId attribute to be null. An empty element should also be accepted assuming that meets the spec's definition of "not set". That is, both TypeDefinition.getParentTypeId() == null
and TypeDefiniton.getParentTypeId().length() == 0 should be accepted.
OpenCMIS TCK fails with
FAILURE: Document type spec compliance. (AbstractCmisTest.java:114)
FAILURE: Base type has parent type! (AbstractSessionTest.java:1357)
The IBM FileNet CMIS provider returns the following for cmis:document and cmis:folder:
<cmis:parentId></cmis:parentId>