Uploaded image for project: 'OASIS Content Management Interoperability Services (CMIS) TC'
  1. OASIS Content Management Interoperability Services (CMIS) TC
  2. CMIS-98

There are CMIS properties that duplicate APP/ATOM information

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: REST/AtomPub Binding
    • Labels:
      None
    • Proposal:
      Hide

      Reduce duplication where data is already present in the ATOM representation. Order of precedence: atom then cmis for cmis properties that are mapped to atom.

      Show
      Reduce duplication where data is already present in the ATOM representation. Order of precedence: atom then cmis for cmis properties that are mapped to atom.

      Description

      I think this is reasonably significant - so I chose the Critical priority. This may also be most appropriate to break up into separate issues, but for simplifying discussion I'll report this as a single issue and list all of the various duplications we've found.

      1. part II p. 19 "All CMIS properties will be exposed in CMIS properties tag even if they are duplicated in an atom element". Why are there duplicates? This just seems to clutter things...

      2. "Atom:Id will be the URI of the resource"

      • Why is there a CMIS URI property (enumPropertiesBase Uri) that simply duplicates what should be in atom:id?
      • Is there a case where just one of these will appear and that's why sometimes it's duplicate?

      <atom:id>http://localhost:7001/drtWebApp/cmis/children/BEA_ExtendedRepository/4001&lt;/atom:id>
      <cmis:propertyString cmis:propertyType="string" cmis:name="Uri">
      <cmis:value>http://localhost:7001/drtWebApp/cmis/children/BEA_ExtendedRepository/4001&lt;/cmis:value>
      </cmis:propertyString>

      3. "App:edited will be CMIS:lastModifiedDate"

      4. "Link with relation self will be CMIS:uri"

      <atom:link rel="self" href="http://localhost:7001/drtWebApp/cmis/children/BEA_ExtendedRepository/4001" />
      <cmis:propertyString cmis:propertyType="string" cmis:name="Uri">
      <cmis:value>http://localhost:7001/drtWebApp/cmis/children/BEA_ExtendedRepository/4001&lt;/cmis:value>
      </cmis:propertyString>

      5. "Published will be CMIS:createdDate"

      <atom:published>2009-02-27T10:26:50.625-07:00</atom:published>
      <cmis:propertyDateTime cmis:propertyType="datetime" cmis:name="CreationDate">
      <cmis:value>2009-02-27T10:26:50.625-07:00</cmis:value>
      </cmis:propertyDateTime>

      6. "Atom:author will be CMIS:creator" creator? does this mean createdBy?

      <atom:author>
      <atom:name>weblogic</atom:name>
      </atom:author>
      <cmis:propertyString cmis:propertyType="string" cmis:name="CreatedBy">
      <cmis:value>weblogic</cmis:value>
      </cmis:propertyString>

      7. "Author/name will be CMIS:createdBy "

      • name? or does this mean contributor? or was that just a clarification for author?
      • oh, I see, nested element name...that was confusing...maybe similar phrases should be used (Atom:author was used before, as was creator, instead of createdBy)

      <atom:contributor>
      <atom:name>weblogic</atom:name>
      </atom:contributor>

        Attachments

          Activity

            People

            • Assignee:
              albertcbrown Al Brown (Inactive)
              Reporter:
              ryan.mcveigh Ryan McVeigh (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: