Uploaded image for project: 'Chemistry (Retired)'
  1. Chemistry (Retired)
  2. CMIS-386

OpenCMIS TCK should consider empty cmis:parentId element as a "not set" attribute for base type definition

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • OpenCMIS 0.3.0
    • OpenCMIS 0.4.0
    • opencmis-tck
    • 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>

      Attachments

        Activity

          People

            fmui Florian Müller
            dave.sanders David Sanders
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: