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

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

    XMLWordPrintableJSON

    Details

    • 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

      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

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

              Dates

              • Created:
                Updated:
                Resolved: