You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "linzhixing (JIRA)" <ji...@apache.org> on 2013/06/19 09:43:19 UTC

[jira] [Created] (CMIS-674) OpenCMIS updateProperties does not send changeToken

linzhixing created CMIS-674:
-------------------------------

             Summary: OpenCMIS updateProperties does not send changeToken
                 Key: CMIS-674
                 URL: https://issues.apache.org/jira/browse/CMIS-674
             Project: Chemistry
          Issue Type: Bug
    Affects Versions: OpenCMIS 0.9.0 beta 1
            Reporter: linzhixing


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira