You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Florian Müller (JIRA)" <ji...@apache.org> on 2011/06/11 20:47:59 UTC

[jira] [Updated] (CMIS-386) OpenCMIS TCK should consider empty cmis:parentId element as a "not set" attribute for base type definition

     [ https://issues.apache.org/jira/browse/CMIS-386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Florian Müller updated CMIS-386:
--------------------------------

    Affects Version/s:     (was: OpenCMIS 0.4.0)
                       OpenCMIS 0.3.0
        Fix Version/s: OpenCMIS 0.4.0
             Assignee: Florian Müller

> OpenCMIS TCK should consider empty cmis:parentId element as a "not set" attribute for base type definition
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: CMIS-386
>                 URL: https://issues.apache.org/jira/browse/CMIS-386
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-tck
>    Affects Versions: OpenCMIS 0.3.0
>            Reporter: David Sanders
>            Assignee: Florian Müller
>            Priority: Minor
>             Fix For: OpenCMIS 0.4.0
>
>
> 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>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira