Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
OpenCMIS 0.3.0
-
None
Description
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>