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

OpenCMIS updateProperties does not send changeToken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • OpenCMIS 0.9.0 beta 1
    • OpenCMIS 0.10.0
    • None
    • None

    Description

      I'm testing Update Smoke Test in TCK and find:

      -On the cliend side, AbstractCmisObject#updateProperties send changeToken with value(like "383" etc.)
      -But on the server side via AtomPub binding, ObjectService#updateProperties tries to get the changeToken on line:468, which results in null value.
      -My CMIS server implements updateConflict error, so I got an error.

      This is I think because the client's updateProperties send only changed properties in the "properties" argument and the server tries to extract the token from within the properties.

      Is this a bug? Which is the best way to pass changeToken?
      I have already tested from other CMIS client library to send changeToken included in the "changed" properties, which itself is not actually a changed property and succeeded in updating.

      Attachments

        Activity

          People

            fmui Florian Müller
            linzhixing linzhixing
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: